summaryrefslogtreecommitdiffstats
path: root/firmware/sound.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/sound.c')
-rw-r--r--firmware/sound.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/firmware/sound.c b/firmware/sound.c
index 41212e72b9..7c961afc97 100644
--- a/firmware/sound.c
+++ b/firmware/sound.c
@@ -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
}