Re: Multiroute Audio Problem
Re: Multiroute Audio Problem
- Subject: Re: Multiroute Audio Problem
- From: Tom <email@hidden>
- Date: Sat, 30 Mar 2013 05:31:49 -0700 (PDT)
Hi, I'm having similar issues. I would like to understand in which cases I am supposed to have multiple routes at my disposal.First of all, every time I log
[[AVAudiosession sharedInstance] currentRoute], I get an empty NSArray for input (category set to multiRoute, this happens with headset as well as no headset plugged in).
Second, I only get one output at a time; either wired headphones, loudspeaker, or line out (these are the ones I have available here).
However, my assumption was that, using multiRoute, I should see something like this when I log an AVAudioSessionRouteDescription (conceptually, on an iPhone 4S):
Inputs:
- Built-in Microphone (mono)
- Headset Microphone (mono)
Outputs:
- Built-in Speaker (mono)
- Wired Headphones (stereo)
- Line out (stereo)
However, what I typically get instead is:
Inputs: null
Outputs:
- Built-in Speaker
I verified that the AVAudioSession category really is being set to multiroute.
Are my assumptions wrong on how MultiRoute should work? If not, there's probably something wrong with my code (or my phone, it's very weird that inputs don't show up even though the mic works perfectly). It's hard to judge how things should work in practice based on the single WWDC video that is currently available.
On Wednesday, October 10, 2012 3:37:29 PM UTC+2, Wolfgang Kundrus wrote:
Hi,
I am trying to understand the Multiroute capabilities in iOS 6. I would expect a call to [audioSession currentRoute] would return arrays filled with all ports available. But that is not what I see. I only get Microphone and Speaker or USB Audio, but not at the same time. Am I missing anything ? Is there a configuration step to take ?
Thanks
_______________________________________________
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