Re: mp3 file making CAAudioFile spin in BasicRead()
Re: mp3 file making CAAudioFile spin in BasicRead()
- Subject: Re: mp3 file making CAAudioFile spin in BasicRead()
- From: Doug Wyatt <email@hidden>
- Date: Wed, 14 Dec 2005 03:55:56 -0800
I think we know about this -- it's probably an MP3 with junk before
the first good packet -- but to be sure it would be great if you
could write a bug report and attach the file.
Doug
On Dec 13, 2005, at 22:08, Brian Whitman wrote:
While testing my app (it uses CAAudioFile as a simple "anything to
PCM" converter) on my iTunes library, I found one mp3 file (linked
below) that completely hangs the program. On investigation the same
file hangs any app I could find that uses CAAudioFile during the
file->open call. It plays fine in iTunes and QT, I don't remember
the provenance of the file but iTunes claims it was encoded with
iTunes 4.9.
It's frustrating as I don't want malformed songs to hang my app,
there seems to be no way of getting out of the loop or detecting if
it will happen. Looking a debug trace shows:
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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