Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#8124 - Playback resumes when shutting down after pause and ff/rew

Attached to Project: Rockbox
Opened by Dmitri (DiscoSuperstar00) - Friday, 09 November 2007, 18:46 GMT+1
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 22 October 2008, 12:00 GMT+1
Task Type Bugs
Category Music playback
Status Closed
Assigned To No-one
Player type SW-codec
Severity Low
Priority Normal
Reported Version current build
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Gigabeat resumes playback for a short period of time when shutting down if the player is currently paused.

To recreate:
1. Play a track partway through
2. Pause the track with the 'a' button
3. Rewind to the beginning so that the track will play from the beginning when turned on next time.
4. Shutdown the player

While the "Shhutting down" text is displayed, the trac will start playing again until the gigabeat turns off completely. However, when starting up again, playback resumes from the very beginning, as expected.

The issue is minor, I guess it's just a little odd that the player start playing again. I assume the shutdown code toggles play/pause instead of stopping playback.

SVN version r15515-071107
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 22 October 2008, 12:00 GMT+1
Reason for closing:  Fixed
Additional comments about closing:  fixed in svn
Comment by Steve Bavin (pondlife) - Tuesday, 11 December 2007, 18:22 GMT+1
Happens on H340 too. The rewinding is important.
Comment by Jonathan Gordon (jdgordon) - Tuesday, 24 June 2008, 04:18 GMT+1
this is still an issue... and its not related to "fade on pause" (having that set to yes or no still causes it)
Comment by Michael Chicoine (mc2739) - Tuesday, 01 July 2008, 02:52 GMT+1
This also happens on sansa e200 with svn r17902-080630. Some time back, it stopped happening on shutdown. Now, it only happens when the stop (menu/power) key is pressed and the track has been paused and rewound to the beginning. I have also noticed that if you press stop while on the main menu, the playback starts right after the menu changes from "Now Playing" to "Resume Playback".
Comment by Michael Chicoine (mc2739) - Tuesday, 01 July 2008, 06:27 GMT+1
After further testing with a clean install, the sansa e200 does still resume playback when shutting down as described above. The other observations in the previous comment are still valid.
Comment by Marc Guay (Marc_Guay) - Sunday, 13 July 2008, 03:34 GMT+1
Confirmed w/ e200 & r18013. Fast-forwarding has the same effect. The key is to have paused, moved the playback point using FF/REW (not prev-track/next-track), and shutdown before resuming playback.
Comment by Jonathan Gordon (jdgordon) - Sunday, 19 October 2008, 12:15 GMT+1
ok, trrying to track this down and it looks like that you dont have to shut down to see the problem.... pause playback, ff/rwd then stop and it will start again. This happens in the sim also so hopefully it is traceable
Comment by Jonathan Gordon (jdgordon) - Sunday, 19 October 2008, 12:38 GMT+1
ok, I tracked this down :D
I havnt done much testing so I dont know if this causes any odd sideeffects... (I dont think it will because the only thing it changes is 1 call to pcmbuf_pause() which happens about 4 times between pressing STOP music actually stopping)
Comment by Michael Chicoine (mc2739) - Sunday, 19 October 2008, 20:03 GMT+1
This appears to correct the problem (at least on my e200).
Comment by Michael Chicoine (mc2739) - Sunday, 19 October 2008, 21:00 GMT+1
This appears to correct the problem (at least on my e200).
Comment by Jonathan Gordon (jdgordon) - Monday, 20 October 2008, 09:23 GMT+1
... I was hoping one of the playback guys would look at this and decide to either commit this, or try and fing the real reason why ffw/rwding acts up...

Loading...