From 3f4fd4d6a0d1bb6ce5e8e384e92f3a122e3f1ede Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 27 Jan 2008 21:45:15 +0000 Subject: 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 --- apps/plugins/mpegplayer/stream_mgr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/plugins/mpegplayer/stream_mgr.h') diff --git a/apps/plugins/mpegplayer/stream_mgr.h b/apps/plugins/mpegplayer/stream_mgr.h index c987181343..339af17182 100644 --- a/apps/plugins/mpegplayer/stream_mgr.h +++ b/apps/plugins/mpegplayer/stream_mgr.h @@ -137,6 +137,9 @@ static inline uint32_t stream_get_ticks(uint32_t *start) static inline int stream_status(void) { return stream_mgr.status; } +/* Wait for a state transistion to complete */ +void stream_wait_status(void); + /* Returns the playback length of the stream */ static inline uint32_t stream_get_duration(void) { return str_parser.duration; } -- cgit v1.2.3