Re: Another question about output routing
Re: Another question about output routing
- Subject: Re: Another question about output routing
- From: Chandrasekhar Ramakrishnan <email@hidden>
- Date: Tue, 14 Mar 2006 08:17:28 -0800
Rick Cohen schrieb:
> If I want to leave the default output connected to one hardware
> interface and have my app sending audio to a different interface, which
> output AU should I connect to? Generic, HAL, or something else? Are
> these output AUs already connected to some hardware interface?
>
> What parameters do I need to set up? Buffers, sample rate, channels,
> etc.? The default output AU seems to work very well with minimal setup.
Use the HALOutput and set the kAudioOutputUnitProperty_CurrentDevice
to the audioDeviceID of the device you want to use. Otherwise set up
is the same as with the default output.
> What if my user chooses the same hardware interface that is currently
> connected to the default output AU. In that case should I silently
> connect to the default AU?
In my software I still use the HAL output. This means that even if the
default output gets changed to a different device, my app stays
connected to the old device. But if you wanted your software to behave
differently, you can use the default AU.
- sekhar
--
C. Ramakrishnan 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