Re: MOTU Ultralight not showing up in output device query
Re: MOTU Ultralight not showing up in output device query
- Subject: Re: MOTU Ultralight not showing up in output device query
- From: Jeff Moore <email@hidden>
- Date: Fri, 3 Aug 2007 16:50:36 -0700
That's not how you enumerate the devices on the system. Rather, you
are enumerating the various Output Units on the system.
The GenericOutput AU doesn't talk to hardware. The DefaultOuptutUnit
and the SystemOutputUnit always talk to the default output device and
the system default output device respectively. The AudioDeviceOutput
AU (aka AUHAL) is a generalization of the default guys and can be
pointed at whatever device on the system you like using the
appropriate property.
If you want to enumerate the devices on the system, you will be using
the HAL directly. I recommend getting cozy with HALLab in our SDK. It
has several examples of where it enumerates the device list for
various purposes.
On Aug 3, 2007, at 4:39 PM, Todd Blanchard wrote:
static ComponentDescription audioOutputDescription =
{ kAudioUnitType_Output };
I'm getting back the following:
Output : Apple: AudioDeviceOutput Apple AudioDevice interface output
unit
Output : Apple: DefaultOutputUnit Apple Default output unit that
redirects its output to the user selected default device
Output : Apple: GenericOutput Apple A Generic Output Unit
Output : Apple: SystemOutputUnit Apple System Sounds output unit
that redirects its output to the user selected System Sounds device
but I have a MOTU ultralight hooked up and, while it shows up as the
default audio output in system preferences, and I see its midi bus
in midi ins/outs, I don't see its audio outputs when doing a
FindComponent with the above component description.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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