• 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: HAL Devices and Streams (with QuickTime)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HAL Devices and Streams (with QuickTime)


  • Subject: Re: HAL Devices and Streams (with QuickTime)
  • From: Lieven Dekeyser <email@hidden>
  • Date: Fri, 18 Jan 2002 22:09:41 +0100 (CET)

> 1) MediaSetSoundOutputComponent takes a Component not a ComponentInstance or
> AudioDeviceID.
>
> 2) the HAL sdev does have an Get/SetInfo selector to change what
> AudioDeviceID it is using. It is, unsurprisingly, siHALAudioDeviceID.
>
> But, and this goes back to what I was trying to get at when I talked about
> the Sound Manager's architecture getting in the way, the Sound Manager will
> use the same sdev for all the tracks in a QTMovie without being pointed at a
> wholly different sdev Component using MediaSetSoundOutputComponent.
>
> To make matters worse, the Sound Manager has to be the one to open and
> configure the sdev. It won't accept a ComponentInstance that you've already
> opened and configured for the job. And if you pass in a Component of which
> the Sound Manager already has an open instance of, it will recycle that
> instance and not open a new instance.

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... but I guess there's
no way of copying the HAL Output Component, is there?

--Lieven


  • Follow-Ups:
    • Re: HAL Devices and Streams (with QuickTime)
      • From: Jeff Moore <email@hidden>
    • Re: HAL Devices and Streams (with QuickTime)
      • From: Lubor Prikryl <email@hidden>
References: 
 >Re: HAL Devices and Streams (with QuickTime) (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Locking the CoreAudio thread
  • Next by Date: Re: Locking the CoreAudio thread
  • Previous by thread: Re: HAL Devices and Streams (with QuickTime)
  • Next by thread: Re: HAL Devices and Streams (with QuickTime)
  • Index(es):
    • Date
    • Thread