I solved it using recordFormat.mFormatID = kAudioFormatLinearPCM and passing recordFormat.mFormatFlags = kLinearPCMFormatFlagIsSignedInteger | kLinearPCMFormatFlagIsPacked flag. The issue was definitely in the streaming of the AppleLossless format.
Topic:
App & System Services
SubTopic:
Core OS
Tags: