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



Rockbox mail archive

Subject: Wavpack skip bug - fixed?

Wavpack skip bug - fixed?

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

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:54:00 2006

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