Why a 'prop' error?
Why a 'prop' error?
- Subject: Why a 'prop' error?
- From: Stevo Brock <email@hidden>
- Date: Wed, 5 Nov 2008 10:14:33 -0800
We're seeing a 'prop' error when setting the converter quality that we
haven't seen before. Maybe somebody (Apple?) can explain why we're
getting this error.
We create a new AudioConverter with the following:
source
mSampleRate: 48000
mFormatID: lpcm
mFormatFlags: 9
mBytesPerPacket: 8
mFramesPerPacket: 1
mBytesPerFrame: 8
mChannelsPerFrame: 2
mBitsPerChannel: 32
mReserved: 0
dest
mSampleRate: 44100
mFormatID: aac
mFormatFlags: 0
mBytesPerPacket: 1536
mFramesPerPacket: 1024
mBytesPerFrame: 0
mChannelsPerFrame: 2
mBitsPerChannel: 0
mReserved: 0
(note this is the full dest as returned by the AudioConverter).
Then, when calling:
UInt32 u32 = kAudioConverterQuality_Max;
status = AudioConverterSetProperty(converter,
kAudioConverterSampleRateConverterQuality, sizeof(UInt32), &u32);
we get a status == 'prop'
This is on OS X 10.5.5, Quicktime 7.5.5, Intel
What are the cases where you can set the
kAudioConverterSampleRateConverterQuality property for an
AudioConverter and when you can't?
-Stevo Brock
Head of Development
Monkey Tools, LLC
www.monkey-tools.com
_______________________________________________
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