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: Wavpack skip bug - fixed?

Re: Wavpack skip bug - fixed?

From: gl <gl_at_ntlworld.com>
Date: 2006-03-31

(both references are in playback.c)

--
gl
----- Original Message ----- 
From: "gl" <gl@ntlworld.com>
To: "Rockbox development" <rockbox-dev@cool.haxx.se>
Sent: Friday, March 31, 2006 2:50 PM
Subject: Wavpack skip bug - fixed?
>
> Re. the ~500ms or so missing from track starts when skipping in Wavpack, 
> I've narrowed it down to audio_load_track(), line 1195 - a file offset of 
> 1 is applied when skipping, and this causes wavpack.c to skip the initial 
> audio data (if a file is selected manually from the file browser, the 
> offset is zero and thus plays fine).
>
> The problem call comes from audio_thread(), line 1817:
>
> if (ev.id == SYS_TIMEOUT && play_pending)
> {
> ev.id = Q_AUDIO_PLAY;
> ev.data = (bool *)1;
> }
>
> The offset (ev.data) is set to 1 here - anybody know what's going on?
> --
> gl 
Received on Fri Mar 31 15:58:09 2006

Page was last modified "Jan 10 2012" The Rockbox Crew
aaa