1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Michael Sevakis 2008-01-27 21:45:15 +00:00
parent 0efdd7a5f7
commit 3f4fd4d6a0
3 changed files with 71 additions and 1 deletions

View file

@ -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; }