summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorDan Everton <dan@iocaine.org>2009-06-17 08:47:51 +0000
committerDan Everton <dan@iocaine.org>2009-06-17 08:47:51 +0000
commitd52c6614c5d4711a6574981cd04c3e103551b608 (patch)
treefe0e5be3b44a6718e42a8502f2c6638a84d48ad9 /apps/playback.c
parent72c65d7575cdf9277a27a5baf18eb013c629d223 (diff)
downloadrockbox-d52c6614c5d4711a6574981cd04c3e103551b608.tar.gz
rockbox-d52c6614c5d4711a6574981cd04c3e103551b608.zip
Commit FS#10335 from Jeffrey Goode.
Ensure that the PCM buffer is flushed at the end of the last track in a playlist. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21316 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 2c526a711e..53d2181bcf 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -2182,6 +2182,8 @@ static void audio_stop_playback(void)
2182 /* If we were playing, save resume information */ 2182 /* If we were playing, save resume information */
2183 if (playing) 2183 if (playing)
2184 { 2184 {
2185 pcmbuf_play_remainder();
2186
2185 struct mp3entry *id3 = NULL; 2187 struct mp3entry *id3 = NULL;
2186 2188
2187 if (!ci.stop_codec) 2189 if (!ci.stop_codec)