High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
- Subject: High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
- From: Lieven Dekeyser <email@hidden>
- Date: Sun, 20 Jan 2002 13:14:26 +0100 (CET)
>
>> Why not use the AudioConverter - at least if you're just doing OS X that is
>
>> a better alternative..
>
>
>
> I know, but my app needs to be able to handle compressed variable bitrate
>
> formats like mp3s, so I figured it would be best to use the SoundConverter
>
> API. It enables me to handle all audio formats QuickTime can handle with
>
> the same code... That's not possible with the AudioConverter, right? (only
>
> fixed rate LinearPCM, right?) Or did I look over something?
>
>
At this stage yes. In the longer term we will address this shortcoming. You
>
might want to use the AC where you can and then fall back to the SC when you
>
need to. The AC will also allow for multi-channel data, which the SC won't
>
do.
Any idea on when this will be done? I'm writing an application that
needs realtime high performance MP3 decoding. The SoundConverter works,
but it uses up to 90% cpu time on my iBook 500, which isn't acceptible at
all. When playing 2 songs at the time, even simply dragging a window
causes the sound to skip. it doesn't skip when inserting/ejecting a cd
though... eat this iTunes :)
Anyway.. I'd like to finish the first version of my app in the next 2
months. Any chance the AudioConverter will be able to handle MP3s by then?
If not, can anyone point me to a high performance MP3 decoder that I can
use for commercial purposes? Any thoughts on writing my own MP3 decoder?
--Lieven