Re: HAL Devices and Streams
Re: HAL Devices and Streams
- Subject: Re: HAL Devices and Streams
- From: Jeff Moore <email@hidden>
- Date: Thu, 10 Jan 2002 11:33:56 -0800
on 1/9/02 8:55 PM, Douglas Wright <email@hidden> wrote:
>
I'm working on CoreAudio support in our applications here and I'm looking at
>
the only multi-channel driver I've found, the MAudio Delta. The Delta 66 I
>
have has 4 analog ins and outs and spdif in and out. It seems like it
>
should be publishing one device with different streams for the different
>
sorts of io, but instead it publishes several different devices each with
>
only one stream. Is this the recommended way, or is this a kludge because
>
the Sound pref panel does not let you choose different streams (yet?)
I'm not sure why they chose to implement the driver the way they did.
Possibly they wanted to work around the HAL's inability to allow the client
to specify what streams they want to use. This would allow for better
performance when the client isn't using every stream the device has at the
same time. This is potentially a big performance drain if the number of
streams on the device is large and the number the client is using is small.
Maybe they had other reasons. One thing, it proves how flexible the
architecture is. The driver has a great deal of leeway in how it presents
it's device to the world.
>
Any other multichannel core audio drivers available? Betas are good too...
Multi-channel USB Audio compliant devices should work for you.
--
Jeff Moore
Core Audio
Apple