forked from len0rd/rockbox
Moved the mpeg_sound_xxx() functions to sound.c and renamed them to sound_xxx()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6240 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
88d5aab5a1
commit
674eaca5ef
21 changed files with 841 additions and 778 deletions
|
@ -242,7 +242,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
if (vol < 100)
|
||||
{
|
||||
vol++;
|
||||
rb->mpeg_sound_set(SOUND_VOLUME, vol);
|
||||
rb->sound_set(SOUND_VOLUME, vol);
|
||||
rb->global_settings->volume = vol;
|
||||
}
|
||||
break;
|
||||
|
@ -253,7 +253,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
if (vol > 0)
|
||||
{
|
||||
vol--;
|
||||
rb->mpeg_sound_set(SOUND_VOLUME, vol);
|
||||
rb->sound_set(SOUND_VOLUME, vol);
|
||||
rb->global_settings->volume = vol;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue