Re: HAL Devices and Streams (with QuickTime)
Re: HAL Devices and Streams (with QuickTime)
- Subject: Re: HAL Devices and Streams (with QuickTime)
- From: Jeff Moore <email@hidden>
- Date: Mon, 21 Jan 2002 11:55:27 -0800
on 1/20/02 11:33 PM, email@hidden <email@hidden> wrote:
>
Above you say "the Sound Manager will use the same sdev all the tracks in a
>
QTMovie"... I don't need a track by track control, only movie by movie.
>
(Two movies playing at the same time on different outputs). Does this
>
change anything? Is there another function that will work?
The support is the same for two movies as it is for two tracks in a single
movie. The only way to tell QT (and therby the Sound Manager) to do
something other than the default, is through MediaSetSoundOutputComponent.
>
>> If you know exactly how many output devices your app will need, for
>
>> instance 2, (like for my app: main output & monitor) a quick & dirty
>
>> solution would be to install 2 Components in the OS which are exact copies
>
>> of the HAL Output Component except for their id (componentSubType,
>
>> componentManufacturer), right? this way, the Soundmanager would look at
>
>> them as 2 different Components (not just 2 different instances of the
>
>> same Component), and you would be able to use both...
>
>
>
> This would work, as long as the device didn't go away while you were using
>
> it.
>
>
>
That's fine by me... Can they both be used at the same time?
Absolutely. The scoping is at the Component level.
--
Jeff Moore
Core Audio
Apple