• 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
Can I create a "fake" HAL device to receive samples?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can I create a "fake" HAL device to receive samples?


  • Subject: Can I create a "fake" HAL device to receive samples?
  • From: Mark Coniglio <email@hidden>
  • Date: Thu, 7 Jul 2005 07:24:18 -0400

In my application Isadora, I would like to be able to manipulate the location of a QuickTime movie's sound on a multi-channel sound output device connected to multiple (i.e., more than 2) speakers.

My previous method was to register a several Sound Output Components for a specific HAL device, one SOC per each two channels on the HAL device.But Sound Output Components are no longer used in QT7 -- so that method is broken now.

Because you can assign a QT Movie to play on a specific audio device, one idea that occurs to me is to create a "fake" HAL device for each pair of channels, which would in turn feed the sound data to the appropriate channels on the real HAL device. Then I could assign the Audio Context for the movie to the fake HAL, which would in turn route it to correct pair of channels on the real device.

(Of course, the problem in QuickTime is that you can only set the Audio Context for the entire movie, not for individual tracks -- but we'll leave that for the moment.)

The other possibility is to use the 3D Audio mixer Audio Unit. But the problem with that is that it only supports up to 5.1, and can't access _every_ channel on the device (e.g., all eight channels on my MOTU 828.) And, it doesn't appear as a HAL device so I don't think I can assign the output of the QuickTime movie to an Audio Graph.

Is it possible to register a 'fake" HAL device within my code, so that I can route the QT Movie Sound data to that device.

Many Thanks,
Mark



--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater          | http://www.troikaranch.org
=====================================================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Can I create a "fake" HAL device to receive samples?
      • From: David Duncan <email@hidden>
  • Prev by Date: AudioUnit of the uncommon path
  • Next by Date: Re: Can I create a "fake" HAL device to receive samples?
  • Previous by thread: Re: AudioUnit of the uncommon path
  • Next by thread: Re: Can I create a "fake" HAL device to receive samples?
  • Index(es):
    • Date
    • Thread