Re: Multiple Devices or Multiple Streams
Re: Multiple Devices or Multiple Streams
- Subject: Re: Multiple Devices or Multiple Streams
- From: Jeff Moore <email@hidden>
- Date: Thu, 25 Oct 2001 11:01:31 -0700
on 10/25/01 9:55 AM, Sean Morrell <email@hidden> wrote:
>
Thanks. That certainly helps. It would appear that starting and stopping
>
is done with engines. If multiple streams are handled by the same engine,
>
how are the streams used independently. For instance, how would a host
>
application start or stop the stream without effecting an application
>
using another stream?
Each process is independent of each other with regards to starting and
stopping. The engine starts only when the first process starts and doesn't
stop until the last process stops.
>
Are all streams associated with a single engine
>
available only to a single client application?
Everything about a device is shared among all client processes, even input
devices. This is a major feature of the Mac OS X audio architecture.
You are only seeing half the picture. You might want to try writing a some
code that talks to the HAL to get a feel for how things work out in
user-land. I think a lot of your questions could be answered that way.
--
Jeff Moore
Core Audio
Apple