Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: mpeg_status slow transition

Re: mpeg_status slow transition

From: c s <rb_dev_at_yahoo.com>
Date: Sat, 15 Mar 2003 03:35:27 -0800 (PST)

--- Linus Nielsen Feltzing <linus_at_haxx.se> wrote:
> c s wrote:
> > When a new file was
> > loaded while in pause state and the file starts
> > playing and wps_show() is called, it takes almost
> 100
> > ticks before the paused flag is cleared in the
> status
> > accessed with mpeg_status(). I couldn't figure out
> why
> > it was taking so long. Does anyone have any ideas
> why?
>
> This is probably because the "paused" flag isn't
> cleared until after the
> ID3 tags have been parsed. Try settings the paused
> flag to false right
> before stop_dma() in the MPEG_PLAY case in mpeg.c.
>
> /Linus
>

Yep, that fixed it.

Thanks.


=====
Craig

rb_dev_at_yahoo.com

__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com
Received on 2003-03-15

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy