Re: AudioConverter MP3 decode questions
Re: AudioConverter MP3 decode questions
- Subject: Re: AudioConverter MP3 decode questions
- From: William Stewart <email@hidden>
- Date: Tue, 14 Mar 2006 11:19:07 -0800
I thought your problem wasn't with the AudioConverter, but with the
reading of corrupt MP3 files with the AudioFile API?
These are two different APIs - one is responsible for reading and
writing data to files, the other for transforming data to and from
particular formats.
It is easy to blur the distinction between these, but I think it is
important to understand the difference.
On 14/03/2006, at 1:57 AM, Alexander v. Below wrote:
Am 14.03.2006 um 10:07 schrieb philippe wicker:
On Mar 14, 2006, at 9:46 AM, Alexander v. Below wrote:
Well, the AudioConverter is a really cool feature provided by
CoreAudio. Malformed MP3 files resulting in memory leak and CPU
hang are not so frequent (correct me if I'm wrong) so maybe the
separate task could be an emergency solution or at least the
technique used when processing a lot of input files where "bad"
files could be marked, moved away or whatever, you get the idea.
Once "bad" and "good" files are separated, then the actual audio
processing can be done within the same process using all the
features provided by CoreAudio.
Of course, I thought the AudioCoverter is a really great feature,
too. That is why I used it in the first place. But if that is not
listed as a known bug in the documentation, people should be aware
of what they are getting into.
The problems you have seen are not with the AudioConverter, they are
with the AudioFile API - explicitly you are providing corrupt MP3
files and our file parsing is not sufficiently defensive to catch
that particular problem. And it would seem, ugly as it is, that you
have a workaround, so all in all things haven't been too bad. So, I
must admit that I am little confused about your pessimistic
assessment here.
Bill
Of course the hangs are not that frequent, but they occur in almost
any reasonably sized sample of MP3 files our QA set up (yes, we are
processing a lot of files). You called the separate task an
"emergency solution". I would love nothing more than to avoid it,
but can you think of any other?
Alex
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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