How to configure AudioConverter to write VBR?
How to configure AudioConverter to write VBR?
- Subject: How to configure AudioConverter to write VBR?
- From: Jens Alfke <email@hidden>
- Date: Sun, 8 Feb 2009 15:28:24 -0800
I'm trying to get my ExtAudioFile-based export code to generate VBR
AAC files. In the SDK I found CAAudioFileConverter.cpp, which
configures VBR (it calls it the 'strategy') by setting the
AudioConverter's kAudioCodecBitRateFormat property. I added the
equivalent to my code, but it doesn't seem to be working — at least,
if I import the resulting files into iTunes, the Info window doesn't
say they're VBR.
Any idea what I might be doing wrong? There are several possible
values for that property, so I chose
kAudioCodecBitRateControlMode_Variable, which the comment says is
usually the best tradeoff. I'm not getting any errors back when
setting that value, so it seems to be supported by the AAC encoder.
Similarly, I've tried setting the encoding quality via the
kAudioConverterCodecQuality property, but I'm not sure whether it has
an effect. iTunes says "Low Complexity" either way. Is there any way
to tell, other than listening really hard to both versions on
expensive headphones?
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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