Identification of AudioConverter error
Identification of AudioConverter error
- Subject: Identification of AudioConverter error
- From: email@hidden
- Date: Tue, 12 Nov 2002 21:08:21 +0000
Hello,
After getting around to doing testing, I found out what was causing the
error using an AudioConverter, and am confused.
My application takes audio data chunks, then (for various reasons)
splits them up into individual 1572864 byte chunks and sends them to
the AudioConverter. The last individual audio chunk sent is almost
always not 1572864 bytes, but however many bytes remain in the
pre-split audio chunk.
It appears that this last chunk isn't always divisible by the frame
size, causing the AudioConverter error (which does still convert the
audio to the closest divisible size).
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?
Any help would be appreciated, thanks!
-- 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.