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/drivers | |
| parent | bd1813d46414ccbbe7c2201a4639fd41ceea36a6 (diff) | |
| download | rockbox-1c38c75a22e71c50c35f324ec7a1eeddcafe2cc4.zip rockbox-1c38c75a22e71c50c35f324ec7a1eeddcafe2cc4.tar.gz rockbox-1c38c75a22e71c50c35f324ec7a1eeddcafe2cc4.tar.bz2 rockbox-1c38c75a22e71c50c35f324ec7a1eeddcafe2cc4.tar.xz | |
remove not used dummy code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15763 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
| -rw-r--r-- | firmware/drivers/audio/wm8751.c | 15 | ||||
| -rw-r--r-- | firmware/drivers/audio/wm8975.c | 15 |
2 files changed, 0 insertions, 30 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 138f3c3..78e1298 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 7732c39..7762224 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[] = { |