Re: 6 channel output through firewire
Re: 6 channel output through firewire
- Subject: Re: 6 channel output through firewire
- From: Brad Ford <email@hidden>
- Date: Thu, 30 Jun 2005 10:46:50 -0700
On Jun 30, 2005, at 5:14 AM, 55 Ewan McDougall wrote:
Hello,
I've experience of programming with quicktime but none of core audio.
I'd like some suggestions of where to start.
I have a number of stereo tracks in movies I want to output through
a firewire device such as http://www.miglia.com/products/audio/
harmonyaudio/ as 6 seperate channels.
How should I go about doing this?
Do you need to do this programmatically, or will any app do? You can
do this very easily with QuickTime Player Pro. First use
AudioMidiSetup.app to set your playback device to the HarmonyAudio,
and set it up as a 5.1 or 7.1 device using the "Configure Speakers"
button. Then, open your content in QT Player Pro, hit command + J,
and in the "Audio Settings" tab for each track, assign the channels
to your desired speaker (you would choose "Discrete_0" to assign a
channel to the first output on your device, "Discrete_1" to the
second, etc.).
If you need to do this in code, it's also very easy, take a look at:
extern OSErr
QTSetTrackProperty(
Track inTrack,
QTPropertyClass inPropClass,
QTPropertyID inPropID,
ByteCount inPropValueSize,
ConstQTPropertyValuePtr inPropValueAddress)
in the QT 7 SDK (Movies.h). You'd use class id
"kQTPropertyClass_Audio" and property id
"kQTAudioPropertyID_ChannelLayout".
In addition I may need to mix the tracks.
Any suggestions or pointers of where to start would be great
QuickTime does this for you automatically. You can control the mix
by assigning channel labels to the individual channels in your content.
-Brad Ford
QuickTime Engineering
_______________________________________________
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