From c31d2f84b73b7f08f949cebcff0e5f4d1babd529 Mon Sep 17 00:00:00 2001 From: Tomasz Malesinski Date: Fri, 3 Feb 2006 23:14:42 +0000 Subject: Fixed warnings on iFP. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657 --- firmware/sound.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'firmware/sound.c') 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 } -- cgit v1.2.3