Re: HAL Devices and Streams (with QuickTime)
Re: HAL Devices and Streams (with QuickTime)
- Subject: Re: HAL Devices and Streams (with QuickTime)
- From: email@hidden
- Date: Fri, 18 Jan 2002 11:46:46 -0600
>
From: Lieven Dekeyser <email@hidden>
>
>
> I just need to figure out what I'm going to do with all my QuickTime playback
>
> code on OS X ASAP!
>
>
>
If it's just for audio playback, you can use QuickTime's
>
SoundConverterFillBuffer api to convert the samples to the Float32 format
>
CoreAudio uses. I've put some sample code on how to do this on:
>
>
http://studwww.rug.ac.be/~lbdkeyse/source/CoreAudio/SoundConverterExample.tgz
>
>
--Lieven
>
Thanks Lieven for the suggestion. I'm not sure it will work in my
situation. I need to use a set of QuickTime APIs to control playback of
audio and/or video. And the ability to control the output channels of each
audio QuickTime track (as I can in OS 9, but not in OS X).
There may be some workaround to do this by converting the sound track on the
fly and having it synced to the video track in QuickTime, but that sounds
like I'm headed into a dark, dark, scary place.
-Jason