AudioConverter and QDM2
AudioConverter and QDM2
- Subject: AudioConverter and QDM2
- From: Stevo Brock <email@hidden>
- Date: Wed, 18 May 2005 16:25:10 -0700
Hi,
I'm trying to get an AudioConverter to produce QDM2 data. I can
setup and create the AudioConverter fine (as far as I know).
However, I'm at a loss as to how to set the QDM2 codec parameters. I
have the parameters stored in a CFDataRef from the codec dialog
(through SoundComponentGetInfo and friends). How do I pass these
parameters to the AudioConverter.
I have tried
status = AudioConverterSetProperty(mConverter,
kAudioConverterPropertyOutputCodecParameters, CFDataGetLength
(dataRef), CFDataGetBytePtr(dataRef));
and
status = AudioConverterSetProperty(mConverter,
kAudioConverterCompressionMagicCookie, CFDataGetLength(dataRef),
CFDataGetBytePtr(dataRef));
both with no luck. What is the appropriate method for accomplishing
this?
-Stevo Brock
_______________________________________________
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