forked from len0rd/rockbox
Fixed warnings on iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3c17330af6
commit
c31d2f84b7
5 changed files with 28 additions and 7 deletions
|
|
@ -471,6 +471,9 @@ void sound_set_volume(int value)
|
|||
#elif (CONFIG_CODEC == MAS3507D) || defined HAVE_UDA1380 || defined HAVE_WM8975
|
||||
current_volume = value * 10; /* tenth of dB */
|
||||
set_prescaled_volume();
|
||||
#elif CONFIG_CPU == PNX0101
|
||||
/* TODO: implement for iFP */
|
||||
(void)value;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -484,6 +487,9 @@ void sound_set_balance(int value)
|
|||
#elif CONFIG_CODEC == MAS3507D || defined HAVE_UDA1380 || defined HAVE_WM8975
|
||||
current_balance = value * VOLUME_RANGE / 100; /* tenth of dB */
|
||||
set_prescaled_volume();
|
||||
#elif CONFIG_CPU == PNX0101
|
||||
/* TODO: implement for iFP */
|
||||
(void)value;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -506,6 +512,9 @@ void sound_set_bass(int value)
|
|||
current_bass = value * 10;
|
||||
wm8975_set_bass(value);
|
||||
set_prescaled_volume();
|
||||
#elif CONFIG_CPU == PNX0101
|
||||
/* TODO: implement for iFP */
|
||||
(void)value;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -528,6 +537,9 @@ void sound_set_treble(int value)
|
|||
wm8975_set_treble(value);
|
||||
current_treble = value * 10;
|
||||
set_prescaled_volume();
|
||||
#elif CONFIG_CPU == PNX0101
|
||||
/* TODO: implement for iFP */
|
||||
(void)value;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue