mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Fix red: only use SW_VOLUME_MIN if HAVE_SW_VOLUME_CONTROL is defined
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3c7c79189e
commit
e9b061a717
1 changed files with 4 additions and 1 deletions
|
|
@ -27,8 +27,11 @@
|
|||
|
||||
/* TODO */
|
||||
const struct sound_settings_info audiohw_settings[] = {
|
||||
/* HAVE_SW_VOLUME_CONTROL */
|
||||
#ifdef HAVE_SW_VOLUME_CONTROL
|
||||
[SOUND_VOLUME] = {"dB", 0, 1, SW_VOLUME_MIN, 6, 0},
|
||||
#else
|
||||
[SOUND_VOLUME] = {"dB", 0, 1, 0, 6, 0},
|
||||
#endif
|
||||
/* HAVE_SW_TONE_CONTROLS */
|
||||
[SOUND_BASS] = {"dB", 0, 1, -24, 24, 0},
|
||||
[SOUND_TREBLE] = {"dB", 0, 1, -24, 24, 0},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue