• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multiple Devices or Multiple Streams
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Multiple Devices or Multiple Streams (From: "Sean Morrell" <email@hidden>)

  • Prev by Date: Re: Multiple Devices or Multiple Streams
  • Next by Date: Automatic Loading of device driver
  • Previous by thread: Re: Multiple Devices or Multiple Streams
  • Next by thread: Re: Request for Sample AudioUnit Sources
  • Index(es):
    • Date
    • Thread