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



Rockbox mail archive

Subject: Re: Wavpack skip bug - fixed?

Re: Wavpack skip bug - fixed?

From: gl <gl_at_ntlworld.com>
Date: Fri, 31 Mar 2006 14:57:33 +0100

(both references are in playback.c)
--
gl
----- Original Message ----- 
From: "gl" <gl_at_ntlworld.com>
To: "Rockbox development" <rockbox-dev_at_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 2006-03-31

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