forked from len0rd/rockbox
removed set audio status method - will be using different approach
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
18dff12614
commit
0bb62fb1e2
3 changed files with 0 additions and 31 deletions
|
@ -2092,19 +2092,6 @@ int audio_status(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_audio_status(int status)
|
|
||||||
{
|
|
||||||
if (status & AUDIO_STATUS_PLAY)
|
|
||||||
playing = true;
|
|
||||||
else
|
|
||||||
playing = false;
|
|
||||||
|
|
||||||
if (status & AUDIO_STATUS_PAUSE)
|
|
||||||
paused = true;
|
|
||||||
else
|
|
||||||
paused = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
int audio_get_file_pos(void)
|
int audio_get_file_pos(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -58,8 +58,6 @@ void voice_init(void);
|
||||||
extern void audio_next_dir(void);
|
extern void audio_next_dir(void);
|
||||||
extern void audio_prev_dir(void);
|
extern void audio_prev_dir(void);
|
||||||
|
|
||||||
void set_audio_status(int status);
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2833,22 +2833,6 @@ int audio_status(void)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_audio_status(int status)
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
if (status & AUDIO_STATUS_PLAY)
|
|
||||||
is_playing = true;
|
|
||||||
else
|
|
||||||
is_playing = false;
|
|
||||||
|
|
||||||
if (status & AUDIO_STATUS_PAUSE)
|
|
||||||
paused = true;
|
|
||||||
else
|
|
||||||
paused = false;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned int audio_error(void)
|
unsigned int audio_error(void)
|
||||||
{
|
{
|
||||||
return mpeg_errno;
|
return mpeg_errno;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue