[prev in list] [next in list] [prev in thread] [next in thread]
List: rockbox-dev
Subject: Re: Wavpack skip bug - fixed?
From: "gl" <gl () ntlworld ! com>
Date: 2006-03-31 14:46:40
Message-ID: 056301c654d1$ebbe67a0$0100a8c0 () ultraviolet
[Download RAW message or body]
> 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?
If I set it to 0, tracks play properly (but note it doesn't fix the skip
crossfading after all).
There's another similarly strange call in initiate_dir_change(), line 1791,
queue_post(&audio_queue, Q_AUDIO_PLAY, (bool *)true);
And sure enough, if you skip a directory, the start of the first track is
missing again.
Why are these setting boolean values (especially as true compiles to 1 and
not -1, which the code would at least treat differently)?? Are these
remnants from an old version of the code or am I missing something?
--
gl
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic