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
|
|
@ -201,7 +201,7 @@ void change_volume(int delta){
|
|||
if (vol > 100) vol = 100;
|
||||
else if (vol < 0) vol = 0;
|
||||
if (vol != rb->global_settings->volume) {
|
||||
rb->mpeg_sound_set(SOUND_VOLUME, vol);
|
||||
rb->sound_set(SOUND_VOLUME, vol);
|
||||
rb->global_settings->volume = vol;
|
||||
rb->snprintf(buffer, sizeof(buffer), "Vol: %d ", vol);
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue