AudioQueue callback get empty buffer on iOS 7 only
问题 I got a strange issue. My code works great on both iOS 5&6 but when running on iOS 7 I get empty buffers on the AudioQueue callback. Possible relevant code: - (void)setUpAudioFormat { audioFormat.mFormatID = kAudioFormatLinearPCM; audioFormat.mSampleRate = SAMPLE_RATE;//16000.0; audioFormat.mChannelsPerFrame = CHANNELS;//1; audioFormat.mBitsPerChannel = 16; audioFormat.mFramesPerPacket = 1; audioFormat.mBytesPerFrame = audioFormat.mChannelsPerFrame * sizeof(SInt16); audioFormat