Re: Multiroute Audio Problem
Re: Multiroute Audio Problem
- Subject: Re: Multiroute Audio Problem
- From: Jan <email@hidden>
- Date: Tue, 07 May 2013 14:40:50 +0200
A couple of tips for multi route as far as I understand it:
1. Multi-route only works when something is connected to the device’s headphone jack (i.e. it won’t work with the speaker output). It also doesn’t work with AirPlay our Bluetooth audio.
2. Multi-route creates an "aggregate" audio interface incorporating the different devices, and the -currentRoute method indicates which channels of the aggregate device correspond to which real device/channel.
3. You can use kAudioOutputUnitProperty_ChannelMap on your Remote I/O unit to route your audio to different channels.
Hope that helps.
Jan
Am 30.03.2013 um 13:31 schrieb Tom <email@hidden>:
> 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
>
> Wolfgang
>
> _______________________________________________
> 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
_______________________________________________
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