• 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
Re: Default Output Unit has always 2 channels but should have more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Benjamin Rindt <email@hidden>
  • Date: Thu, 10 Oct 2013 08:54:33 +0200

Thank you!
Already tried setting the stream format on that unit, but crashed because I did it after the unit was initialized.
Its working fine now :)

But I have kinda a follow up: What is the correct way to change properties (StreamFormat) on a bus of a AU while the graph is running? I have a Matrixmixer which input may be mono or stereo. Now I change these properties through uninitializing and initializing the Mixer and configure the Mixer again when I need to change Input from Mono to Stereo.

Thanks
Benjamin


Am 09.10.2013 um 21:54 schrieb Jeff Moore <email@hidden>:

> 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


 _______________________________________________
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


References: 
 >Default Output Unit has always 2 channels but should have more (From: Benjamin Rindt <email@hidden>)
 >Re: Default Output Unit has always 2 channels but should have more (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: CoreMIDI on iPhone 5S
  • Next by Date: Channel mapping confusion
  • Previous by thread: Re: Default Output Unit has always 2 channels but should have more
  • Next by thread: Looping audio unit
  • Index(es):
    • Date
    • Thread