diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-01-27 21:45:15 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-01-27 21:45:15 +0000 |
commit | 3f4fd4d6a0d1bb6ce5e8e384e92f3a122e3f1ede (patch) | |
tree | 797d9ad3c61e21fd3c3105c9806cfc4eeedbd4b0 /apps/plugins/mpegplayer/stream_mgr.c | |
parent | 0efdd7a5f74c955d0eb604cd3fef9069be57bcbb (diff) | |
download | rockbox-3f4fd4d6a0d1bb6ce5e8e384e92f3a122e3f1ede.tar.gz rockbox-3f4fd4d6a0d1bb6ce5e8e384e92f3a122e3f1ede.zip |
Now that headphone plug pause/resume should be better behaved, support it in mpegplayer too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16179 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.c')
-rw-r--r-- | apps/plugins/mpegplayer/stream_mgr.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index ad1df6f31a..e79c5fd595 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c | |||
@@ -809,6 +809,13 @@ uint32_t stream_get_seek_time(uint32_t *start) | |||
809 | return time; | 809 | return time; |
810 | } | 810 | } |
811 | 811 | ||
812 | /* Wait for a state transistion to complete */ | ||
813 | void stream_wait_status(void) | ||
814 | { | ||
815 | stream_mgr_lock(); | ||
816 | stream_mgr_unlock(); | ||
817 | } | ||
818 | |||
812 | /* Returns the smallest file window that includes all active streams' | 819 | /* Returns the smallest file window that includes all active streams' |
813 | * windows */ | 820 | * windows */ |
814 | static bool stream_get_window_callback(struct list_item *item, | 821 | static bool stream_get_window_callback(struct list_item *item, |