paramErr from AudioConverterFillComplexBuffer with MP3 source
paramErr from AudioConverterFillComplexBuffer with MP3 source
- Subject: paramErr from AudioConverterFillComplexBuffer with MP3 source
- From: Stevo Brock <email@hidden>
- Date: Tue, 11 Apr 2006 18:20:45 -0700
Hello,
I have processed a TON of MP3 files through
AudioConverterFillComplexBuffer with no issues. However, I have just
discovered 3 files that are causing a paramErr right at the very end
of processing the audio.
The input format is MP3 (CBR), 16, 44.1kHz, stereo, 2304 samples per
packet, 418 bytes per packet, 836 bytes per frame
The output format is PCM (Floating point), 32, 44.1Khz, stereo, 1
sample per packet, 8 bytes per packet, 8 bytes per frame
Everything seems to be working properly. Each iteration I'm asking
for 1024 packets from AudioConverterFillComplexBuffer() and getting
1024 packets back, with return code of noErr. Periodically my MP3
reader is called and returns packets (in this case, 10 packets of 836
bytes each). At the end, the MP3 reader returns 6 packets, then
finally 0 packets. Then after about 20 more calls, ACFCB() returns
only 512 packets and paramErr. Ignoring this and continuing, the
next call returns 0 packets. Most files have a similar flow, but
don't generate a paramErr. I'm seeing this on 10.3.9/QT 6.5.2 and
10.4.6/QT 7.0.4
How can I discover what is causing the paramErr?
-Stevo Brock
Monkey Tools
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