Re: MT question
Re: MT question
- Subject: Re: MT question
- From: Michael Thornburgh <email@hidden>
- Date: Sat, 17 Apr 2004 18:45:28 -0700
in your AudioConverterComplexInputDataProc, do the values for
*ioNumberDataPackets and ioData->mBuffers[N].mDataByteSize match up?
if the sample rate changes, then the AudioConverter may be asking for a
different number of frames (via *ioNumberDataPackets). if you don't
set mDataByteSize to match up for the number of frames you're telling
the AC via *ioNumberDataPackets, i bet you'll get
kAudioConverterErr_InvalidInputSize.
-mike
On Apr 17, 2004, at 5:02 PM, john wrote:
Hi Mike,
I think I found out what's causing the mDataByteSize to be set to 0 in
the first place. The convert buffer returns an error
kAudioConverterErr_InvalidInputSize when the audio converter is
re-created.
I don't understand this - the input format stays the same and the size
of the data to be converted never changes.
Any ideas?
-- John
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.