Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Music playback
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Michael Sevakis - 2006-07-30
Last edited by Steve Bavin - 2007-07-31

FS#5747 - Playback from previous song keeps playing when skipping tracks

When playing a song and *pausing* it, select another track by using joystick right/left or hitting the select button to browse for another sound file to play. Should be paused with track ready. Start playback.

For about a .5-1 second, the previous sound file will continue playback where it left off (peak meters and all) then abruptly start playing the current selection.

Stop doesn’t have this problem.

Closed by  Steve Bavin
2007-07-31 07:59
Reason for closing:  Fixed
Additional comments about closing:  

Should be fixed now.

Paul Louden commented on 2006-07-31 23:58

It probably doesn’t flush the PCM buffer. I’m missing exactly what you do though. You browse for another file, and then click select on it to start it?

Michael Sevakis commented on 2006-08-01 01:24

I’m guessing that too.

Start playback on a file.
Make sure that’s paused somewhere (||).
Browse/skip to something else (even »|). Even ~browse~ to the same file. |« Won’t do it on the current file.

Try with several formats several times. I can reproduce this at will. It may not do it on non x5 platforms, however. Some iPod owners said there was no problem.

Rani Hod commented on 2006-09-18 18:36

Confirmed on X5 sim with current CVS.

Michael Sevakis commented on 2006-10-27 10:48

I’m pretty sure I now know why this occurs but haven’t confirmed my suspicion. On Coldfire at least the buffer given to DMA may be unpaused but still have data left (BCR0 > 0) and this remaining data will play out where it left off if pcm_play_pause(true) is called until BCR0 decrements to zero. If tracks are skipped, pcm_play_stop() should be used first to reset and start a DMA transfer with new data.

Steve Bavin commented on 2006-10-31 16:41

Patch  FS#6266  should resolve this.

Alistair Marshall commented on 2007-07-25 08:02

still present in today’s SVN (r13976-070725) on my h300

Steve Bavin commented on 2007-07-30 11:50

Can you say whether this is fixed by patch #6266? Attached is an H300 build including this.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing