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: William Stewart <email@hidden>
- Date: Mon, 6 Aug 2007 12:33:37 -0700
As an FYI:
static ComponentDescription audioOutputDescription =
{ kAudioUnitType_Output };
The rest of the ComponentDescription fields must be zero for you to
get the results you list below. So, really you need to (or the
compiler is, or you are getting lucky) doing this:
static ComponentDescription audioOutputDescription =
{ kAudioUnitType_Output, 0, 0, 0, 0 };
(Just being paranoid!)
Bill
ps - if the component manager sees non-zero fields, it will look for
exact matches to the values of those fields in the FindComponent call
On 03/08/2007, at 4:50 PM, Jeff Moore wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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