Re: External Sound Components
Re: External Sound Components
- Subject: Re: External Sound Components
- From: Jeff Moore <email@hidden>
- Date: Wed, 5 Jan 2005 12:17:37 -0800
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).
On Jan 5, 2005, at 8:18 AM, Mark Thomas wrote:
Hi,
Looking at the same code on G5 Tower, my Sound system preferences
lists
internal speaker and digital line out, and Apple USB speakers, but the
below
listing is still the same, as I'm listing the kSoundOutputDeviceType.
so I'm guess this isn't the right way to go about getting the
possible
output devices ???, or is it, as I understood that this is what you are
suppose to use ???.
How are you suppose to do this correctly,
Thanks
Mark.
--------------------------------------------------------------------
Hi,
I was playing with some code listing the output sound components of
my 17"
portable, but I was surprise that I had 4 output components
1) <no name given>
2) Firewire DV
3) Mac OS X Audio Hal
4) Mac OS X Audio Hal (System).
What are the difference in these ???, and as I only have the internal
speakers which appear in the sound preference I'm surprised I get all
these
Can anybody shed some light on this.
Thanks
Mark.
_______________________________________________
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
--
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