• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RemoteIO audioUnit headphone output left side only on iphone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RemoteIO audioUnit headphone output left side only on iphone


  • Subject: RemoteIO audioUnit headphone output left side only on iphone
  • From: Denise Eatherly <email@hidden>
  • Date: Sat, 12 Dec 2009 11:13:26 -0700

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: API for switching audio output device or disabling output altogether
  • Next by Date: Re: API for switching audio output device or disabling output altogether
  • Previous by thread: Re: AudioQueueOfflineRender
  • Next by thread: Unable to set/get headset mic volume
  • Index(es):
    • Date
    • Thread