Hi,
In the karaoke element of an app we are building, the microphone render callback is recording a file using ExtAudioFileWriteAsync. QTPlayer can play the resulting file from the finder with sound coming out both left & right sides of the headphones. When the app plays it (at the same time as the original backing track file) via a remoteIO unit/mixer in the iPhone simulator, it plays in both left & right sides of the headphones. The same app on the device will only play the voice file through the left earbud, though the original backing track file is playing correctly through the mixer, out the remoteIO audio unit & into both earbuds.
The streamDescription is the same for the file and the remoteIO unit (and the mixer). It looks like this: myFormatDesc.mSampleRate = hardwareSampleRate; myFormatDesc.mFormatID = kAudioFormatLinearPCM; myFormatDesc.mFormatFlags = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagsNativeEndian | kAudioFormatFlagIsPacked; myFormatDesc.mBytesPerPacket = 4; myFormatDesc.mFramesPerPacket = 1; myFormatDesc.mBytesPerFrame = 4; myFormatDesc.mChannelsPerFrame = 2; myFormatDesc.mBitsPerChannel = 16; Thanks in advance for any suggestions, Denise |