Re: High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
Re: High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
- Subject: Re: High performance MP3 decoder (was Re: SoundComponentData to AudioStreamBasicDescription)
- From: Lieven Dekeyser <email@hidden>
- Date: Fri, 25 Jan 2002 11:04:35 +0100 (CET)
>
> The SoundConverter works,
>
> but it uses up to 90% cpu time on my iBook 500, which isn't acceptible at
>
> all.
>
If I playback an MP3 file with QT I only see about a
>
5-6% usage on a tibook. This is using the same decoder code exactly as the
>
SoundConverter, so I'm very confused about why you're seeing a 90% load...
With QuickTime Player I get about 25% cpu usage... (didn't know tiBooks
were 5 times faster than iBooks, but 25% is acceptible)
But try out the SoundConverter FillBuffer example from:
http://developer.apple.com/samplecode/Sample_Code/Sound/MP3Player.htm
on my iBook I also get 80-90% cpu usage. maybe there's some overhead in
the FillBuffer proc that the Movie Toolbox doesn't have
greetz,
Lieven