Re: External Sound Components
Re: External Sound Components
- Subject: Re: External Sound Components
- From: Jeff Moore <email@hidden>
- Date: Wed, 5 Jan 2005 17:09:27 -0800
On Jan 5, 2005, at 4:30 PM, Mark Thomas wrote:
Any of the Apple Bod's like to say how to get this information :-), as
I've
been trawling the dev site and cannot find anything there :-(.
<snip description of iterating over sdevs>
I guess you missed my post:
On Jan 5, 2005, at 12:17 PM, Jeff Moore wrote:
The Sound Manager API is no longer the primary API for accessing audio
functionality on the system. It is there for compatibility purposes.
The proper API for accessing audio functionality is the various Core
Audio APIs. The get the list of available devices on the system, you
use the HAL (aka CoreAudio.framework). However, most applications
should use the output Audio Unit, AUHAL, that wraps up an audio device
and does the heavy lifting with regards to being a properly behaved
client of the device. The Audio Unit and other useful APIs are found
in AudioToolbox.framework and AudioUnit.framework.
To answer your original question, the sdevs you found were:
1) No idea.
2) The sdev for writing audio to a FireWire DV camera. It's much like
the one that was used on 9.
3) The sdev that wraps up the HAL audio device that is to be used by
default for output. It has an info selector for pointing it at other
devices.
4) The sdev that wraps up the HAL audio device that is to be used by
default for system output (such as alert sounds).
I'll add that our SDK has plenty of examples of iterating through the
device list. The HALLab app, in particular, would be an excellent place
to start diving into how audio hardware is managed on the system.
--
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