Re: Identification of AudioConverter error
Re: Identification of AudioConverter error
- Subject: Re: Identification of AudioConverter error
- From: Christof Faller <email@hidden>
- Date: Wed, 13 Nov 2002 08:42:01 +0100
John,
However, my not-so-mathematical mind is having trouble understanding
how this could happen. It isn't possible for the initial audio chunks
to be anything other than sizes divisible by the frame size, and the
1572864 byte chunks are divisible by the frame size...so how could the
last chunk not be divisible?
I am successfully using AudioConverter for real-time re-sampling of
audio input. Do you use AudioConverter for re-samping or something
else? If you use it for re-sampling and you use an "un-even" conversion
ratio (e.g. 16000/44100) then the number of required samples by the
AudioConverter varies by +-1 in order to get a fixed sized block of
output samples.
May that be the issue?
Chris
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Christof Faller Media Signal Processing Research
email@hidden Agere Systems
(908) 508 8322 4 Connel Drive, Rm 4P-744-B
Berkeley Heights, NJ 07922, USA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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.