diff options
author | Dan Everton <dan@iocaine.org> | 2009-06-17 08:47:51 +0000 |
---|---|---|
committer | Dan Everton <dan@iocaine.org> | 2009-06-17 08:47:51 +0000 |
commit | d52c6614c5d4711a6574981cd04c3e103551b608 (patch) | |
tree | fe0e5be3b44a6718e42a8502f2c6638a84d48ad9 /apps/pcmbuf.c | |
parent | 72c65d7575cdf9277a27a5baf18eb013c629d223 (diff) | |
download | rockbox-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/pcmbuf.c')
-rw-r--r-- | apps/pcmbuf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c index 47cb832be4..b8d8a0c8d0 100644 --- a/apps/pcmbuf.c +++ b/apps/pcmbuf.c | |||
@@ -1154,3 +1154,9 @@ bool pcmbuf_is_crossfade_enabled(void) | |||
1154 | 1154 | ||
1155 | return crossfade_enabled; | 1155 | return crossfade_enabled; |
1156 | } | 1156 | } |
1157 | |||
1158 | void pcmbuf_play_remainder(void) | ||
1159 | { | ||
1160 | if (audiobuffer_fillpos) | ||
1161 | pcmbuf_flush_fillpos(); | ||
1162 | } | ||