summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-06-20 19:19:05 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-06-20 19:19:05 +0000
commitbe918cdc7225a85da374fa5d7d0aa5e0ff4ed8f4 (patch)
treee3af2307a232ade8d699834e77ba169cc40f7b4c /apps/playback.c
parent78da1ff222beb6aea56a2145dfe73597aadaadec (diff)
Fixed a problem with playback when returning from usb mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 4dfd196a88..b2a31bf87f 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -1048,6 +1048,7 @@ void audio_thread(void)
#ifndef SIMULATOR
case SYS_USB_CONNECTED:
playing = false;
+ filling = false;
ci.stop_codec = true;
logf("USB Connection");
pcm_play_stop();