Rockbox mail archiveSubject: Re: 8MB builds anyone?
Re: 8MB builds anyone?
From: Uwe Freese <mail_at_uwe-freese.de>
Date: Wed, 26 Feb 2003 14:49:40 +0100
Daniel Stenberg wrote on Wednesday, February 26, 2003, 12:57:04 PM:
>> But now it works, according to the documentation of Uwe I changes
>> the following in the mpeg.c:
DS> Uh, why are those changes needed? What happens if you don't do
The problem was that the playback stopped after a second or so when
filling the buffer the first time. I think that was because some data
wasn't bitswapped at the time it was given to the MP3 decoder.
1. read x kb
2. bitswap x kb
3. start playback
4. fill complete buffer
5. start bitswapping the rest of the buffer
And because 4. takes longer with 8MB, 5. was started later and
playback was too early at the point of x kb in the buffer.
DS> You're fiddling with the dynamic system and I can't see what that
DS> has to do with your increased memory size.
It should work also with changing the "x" value above and I don't say
that the changes of my patch are the best way to make 8MB work. Gerald
had this patch and it worked for me and all other tries to change
values that changed the buffer behaviour didn't.
So if you or anyone else tells me what I should test, I can do it. But
I cannot guess this, I don't know enough about the buffering. Maybe
Linus can say something about this?
Received on 2003-02-26