This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10377 - PCM buffer remainder is played under too many conditions
Attached to Project:
Rockbox
Opened by Jeffrey Goode (Blue_Dude) - Wednesday, 24 June 2009, 05:38 GMT+1
Last edited by Thomas Martitz (kugel.) - Monday, 29 June 2009, 21:21 GMT+1
Opened by Jeffrey Goode (Blue_Dude) - Wednesday, 24 June 2009, 05:38 GMT+1
Last edited by Thomas Martitz (kugel.) - Monday, 29 June 2009, 21:21 GMT+1
|
DetailsThe pcmbuf_play_remainder() routine in pcmbuf.c was intended to ensure that the last samples were played out of the buffer at the end of the playlist. This was done from a call in playback.c, but the placement of that call causes pcmbuf_play_remainder() to be called for all stops. This caused a subtle bug in another patch that could crash the player under certain conditions.
This patch changes the placement of the call so that it's only invoked at the end of the playlist as intended. |
This task depends upon
Closed by Thomas Martitz (kugel.)
Monday, 29 June 2009, 21:21 GMT+1
Reason for closing: Accepted
Additional comments about closing: Commit the last patch in r21569. Thanks.
Monday, 29 June 2009, 21:21 GMT+1
Reason for closing: Accepted
Additional comments about closing: Commit the last patch in r21569. Thanks.
This change as a standalone patch has no ill effects and actually prevents an unneeded call. If it's not used for now, nothing bad will happen. Consider it a minor cleanup.