Re: Multiple Sound Devices
Re: Multiple Sound Devices
- Subject: Re: Multiple Sound Devices
- From: Laurent Cerveau <email@hidden>
- Date: Tue, 12 Feb 2002 11:04:53 +0100
On Tuesday, February 12, 2002, at 10:36 AM, Mark Thomas wrote:
>
Hi,
>
Its not using mono or stereo output, but if I have some USB speakers
>
plugged in, I want to send different sound data to the USB speakers, and
>
some other sound data to the internal speakers, as well as know that I
>
have
>
these sound output devices, using the Sound Manager.
>
>
When you are in the Sound Control Panel, it seems to known about the
>
different output devices. Any Ideas how it does this ???.
>
>
Thanks
>
Mark.
I may sound "pushy" (but after all this is part of my role :-)), but why
don't you switch to CoreAudio?
The logic of the management of USB external speakers on OS 9 is made in
the Apple Audio Extension, that create and more generally "manipulate"
the output component that can be used by the Sound Manager. The only
point of access to this is through the 'sdev' output component(s). There
will never be other API's, hack, code path or so on to access the
inside of Apple Audio Extension and deal with the management of pugged
device. On OS X the Carbon Sound Manager sits on top of CoreAudio, so
you will have more flexibilty using the HAL directly.
One of the goal of CoreAudio was precisely to "open this component" and
give access to a representation of the real hardware (and at the same
time to deal for you with the problem of a kernel/user transition of
data) , this, with a set of API's more modern and suited to the
evolution of the audio world.
Laurent
Laurent Cerveau
Applications Division
Apple Computer Inc.
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.