Re: Default Output Unit has always 2 channels but should have more
Re: Default Output Unit has always 2 channels but should have more
- Subject: Re: Default Output Unit has always 2 channels but should have more
- From: Jeff Moore <email@hidden>
- Date: Wed, 09 Oct 2013 12:54:15 -0700
It sounds like you have the client format for the output side of the AU set to two channels. If you want to access all the channels on the device, you need to set the client format (aka the format property on the input scope of element 0) to the ASBD returned from the output scope of element 0, which has the format for the hardware.
—
Jeff Moore
Core Audio
Apple
On Oct 9, 2013, at 12:41 PM, Benjamin Rindt <email@hidden> wrote:
> I'm working on my App, which is pushing Audio out in multiple channels. Got that working with my old 2 Channel Interface and for testing purposes I always used the default output unit setting for the HAL unit, and configured in Audio/MIDI Setup the default to my interface.
>
> Today I got a Focusrite Interface with 20 Output Channels, configured the Interface to be in DAW Mode (for people familiar with MixControl)
>
> So, I tested my program and saw the output node is only accepting 2 channels when I print out the graph.
> The Focusrite is set in Audio/MIDI setup to be the default output device so it should be 20?
>
> If I print out my Streamformat for Input I get 18 channelsPerFrame (which is correct). But the output Node only wants 2 channelsPerFrame.
>
> Any tips? Next thing would be to move away from default output unit and specify which output should be used. Are there any restrictions to kAudioUnitSubType_DefaultOutput?
_______________________________________________
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