Re: Multiple Sound Devices
Re: Multiple Sound Devices
- Subject: Re: Multiple Sound Devices
- From: Mark Thomas <email@hidden>
- Date: Tue, 12 Feb 2002 10:58:33 +0000
- Organization: Coderus Ltd
Hi,
>
I may sound "pushy" (but after all this is part of my role :-)), but why
>
don't you switch to CoreAudio?
No worries :-)
I'm switching to CoreAudio, but I still have to support MacOS 9.x, for at
least another 12-18 months, Sorry but I'm not completely willing to put all
my eggs in MacOS-X just yet. As there are a lot of machines still out there
which wouldn't be MacOS-X compatible.
>
>
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.
>
Hmmmm, any idea of where some docs on 'sdev', as I guess I can count the
number of 'sdev', and ask them for some information, I guess there are docs
for 'sdev' somewhere, but I'll never be able to switch to particular
speaker, because of this.
Also what are these SoundComponent APIs in <Sound.H>, are these output
components info functions, as I cannot find any docs on them or sample code,
is there any available I can have. ???
Also what are SPBxxxxx funcations used for ???.
>
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.
>
I'm glad to see that it straight forward here.
>
Laurent
>
>
Laurent Cerveau
>
Applications Division
>
Apple Computer Inc.
>
email@hidden
>
Thanks
Mark.
>
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.
_______________________________________________
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.