• 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
Routing QT audio to an AudioUnit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Routing QT audio to an AudioUnit


  • Subject: Routing QT audio to an AudioUnit
  • From: Alberto Ricci <email@hidden>
  • Date: Fri, 27 Sep 2002 14:34:40 +0200

I just posted this to quicktime-api and realized that it would be appropriate here too... sorry for the cross-post if you're subscribed to both lists.


Hi,

Is there any way to route audio playback coming from a QuickTime movie to an AudioUnit?

I am afraid that the different methods used to convey samples (a push mechanism in QT, a pull mechanism for AudioUnits) make it too complicated.

However, I suppose that many applications would benefit from being able to, say, filter a QT movie controller's output using some AU which provides greater flexibility than MediaSetSoundBassAndTreble() ;-) , or making the audio flow into the 3D Mixer for spatialization, and so on.

Maybe it is something Apple engineers could think about...

In the meantime, I wonder which solutions can be found. I can only think of:

- setting the movie's sound output device to a custom component, which implements a ring buffer. This buffer is shared with an AudioUnit which can "pull" samples from it.

- subclassing a MovieController so that it disables any sampled sound tracks; then it installs an action filter proc in order to be notified of any transport state modification. An AudioUnit would read samples using QT API calls from the movie, making sure it keeps itself in sync with the movie controller and any transport action performed by the user...

I can think of drawbacks and inconveniences for both, so... any suggestions are welcome!

Ciao,
Alberto.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Routing QT audio to an AudioUnit
      • From: Kurt Revis <email@hidden>
    • Re: Routing QT audio to an AudioUnit
      • From: Jeff DuMonthier <email@hidden>
  • Prev by Date: Re: Core Audio docs in a PC friendly format?
  • Next by Date: Re: Routing QT audio to an AudioUnit
  • Previous by thread: How to create a custom core audio properties in my driver ?
  • Next by thread: Re: Routing QT audio to an AudioUnit
  • Index(es):
    • Date
    • Thread