summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/stream_mgr.h
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-01-27 21:45:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-01-27 21:45:15 +0000
commit3f4fd4d6a0d1bb6ce5e8e384e92f3a122e3f1ede (patch)
tree797d9ad3c61e21fd3c3105c9806cfc4eeedbd4b0 /apps/plugins/mpegplayer/stream_mgr.h
parent0efdd7a5f74c955d0eb604cd3fef9069be57bcbb (diff)
downloadrockbox-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.h')
-rw-r--r--apps/plugins/mpegplayer/stream_mgr.h3
1 files changed, 3 insertions, 0 deletions
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)
137static inline int stream_status(void) 137static inline int stream_status(void)
138 { return stream_mgr.status; } 138 { return stream_mgr.status; }
139 139
140/* Wait for a state transistion to complete */
141void stream_wait_status(void);
142
140/* Returns the playback length of the stream */ 143/* Returns the playback length of the stream */
141static inline uint32_t stream_get_duration(void) 144static inline uint32_t stream_get_duration(void)
142 { return str_parser.duration; } 145 { return str_parser.duration; }