summaryrefslogtreecommitdiff
path: root/firmware/export/wm8758.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2008-05-16 19:28:45 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2008-05-16 19:28:45 +0000
commit59357d48c1e0255e9df5e0d6660f57426efbe192 (patch)
tree7c3e7d7b8204acb67e625ffe5556f147678ee8f4 /firmware/export/wm8758.h
parent95d76f2da2b1535d552f60ab36a297c615960acc (diff)
add AUDIOHW_CAP for bass cutoff and treble cut off and fix a wrong ifdef for simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17537 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/wm8758.h')
-rw-r--r--firmware/export/wm8758.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h
index 5e37e203d5..6c1987c3e8 100644
--- a/firmware/export/wm8758.h
+++ b/firmware/export/wm8758.h
@@ -24,7 +24,7 @@
#define VOLUME_MIN -570
#define VOLUME_MAX 60
-#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP)
+#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP | BASS_CUTOFF_CAP | TREBLE_CUTOFF_CAP)
extern int tenthdb2master(int db);
extern int tenthdb2mixer(int db);
@@ -32,8 +32,6 @@ extern int tenthdb2mixer(int db);
extern void audiohw_set_master_vol(int vol_l, int vol_r);
extern void audiohw_set_lineout_vol(int vol_l, int vol_r);
extern void audiohw_set_mixer_vol(int channel1, int channel2);
-extern void audiohw_set_bass_cutoff(int value);
-extern void audiohw_set_treble_cutoff(int value);
extern void audiohw_set_nsorder(int order);
extern void audiohw_set_sample_rate(int sampling_control);