(both references are in playback.c) -- gl
----- Original Message ----- From: "gl" <[EMAIL PROTECTED]>
To: "Rockbox development" <[email protected]> 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
