diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2007-11-22 23:24:24 +0000 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2007-11-22 23:24:24 +0000 |
commit | 1c38c75a22e71c50c35f324ec7a1eeddcafe2cc4 (patch) | |
tree | f9a9127c97589be188ed1d3d68529148ec3ad3d2 /firmware | |
parent | bd1813d46414ccbbe7c2201a4639fd41ceea36a6 (diff) |
remove not used dummy code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/audio/wm8751.c | 15 | ||||
-rw-r--r-- | firmware/drivers/audio/wm8975.c | 15 | ||||
-rw-r--r-- | firmware/export/wm8751.h | 2 | ||||
-rw-r--r-- | firmware/export/wm8975.h | 2 |
4 files changed, 0 insertions, 34 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 138f3c3174..78e129803e 100644 --- a/firmware/drivers/audio/wm8751.c +++ b/firmware/drivers/audio/wm8751.c @@ -73,13 +73,6 @@ int tenthdb2master(int db) return (db / 10) + 73 + 0x30; } -/* convert tenth of dB volume (-780..0) to mixer volume register value */ -int tenthdb2mixer(int db) -{ - (void)db; - return 0; -} - static int tone_tenthdb2hw(int value) { /* -6.0db..+0db..+9.0db step 1.5db - translate -60..+0..+90 step 15 @@ -168,14 +161,6 @@ int audiohw_set_lineout_vol(int vol_l, int vol_r) return 0; } -int audiohw_set_mixer_vol(int channel1, int channel2) -{ - (void)channel1; - (void)channel2; - - return 0; -} - void audiohw_set_bass(int value) { wmcodec_write(BASSCTRL, BASSCTRL_BITS | diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c index 7732c39cc6..7762224254 100644 --- a/firmware/drivers/audio/wm8975.c +++ b/firmware/drivers/audio/wm8975.c @@ -63,13 +63,6 @@ int tenthdb2master(int db) } } -/* convert tenth of dB volume (-780..0) to mixer volume register value */ -int tenthdb2mixer(int db) -{ - (void)db; - return 0; -} - #define IPOD_PCM_LEVEL 0x65 /* -6dB */ @@ -155,14 +148,6 @@ int audiohw_set_lineout_vol(int vol_l, int vol_r) return 0; } -int audiohw_set_mixer_vol(int channel1, int channel2) -{ - (void)channel1; - (void)channel2; - - return 0; -} - void audiohw_set_bass(int value) { const int regvalues[] = { diff --git a/firmware/export/wm8751.h b/firmware/export/wm8751.h index 5ad0a01a84..40d581c081 100644 --- a/firmware/export/wm8751.h +++ b/firmware/export/wm8751.h @@ -24,13 +24,11 @@ #define VOLUME_MAX 60 extern int tenthdb2master(int db); -extern int tenthdb2mixer(int db); extern void audiohw_preinit(void); extern void audiohw_enable_output(bool enable); extern int audiohw_set_master_vol(int vol_l, int vol_r); extern int audiohw_set_lineout_vol(int vol_l, int vol_r); -extern int audiohw_set_mixer_vol(int channel1, int channel2); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); extern void audiohw_set_frequency(int fsel); diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h index d77d61e8a0..2121561af6 100644 --- a/firmware/export/wm8975.h +++ b/firmware/export/wm8975.h @@ -25,12 +25,10 @@ #define VOLUME_MAX 60 extern int tenthdb2master(int db); -extern int tenthdb2mixer(int db); extern void audiohw_enable_output(bool enable); extern int audiohw_set_master_vol(int vol_l, int vol_r); extern int audiohw_set_lineout_vol(int vol_l, int vol_r); -extern int audiohw_set_mixer_vol(int channel1, int channel2); extern void audiohw_set_bass(int value); extern void audiohw_set_treble(int value); extern void audiohw_set_nsorder(int order); |