From 59357d48c1e0255e9df5e0d6660f57426efbe192 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 16 May 2008 19:28:45 +0000 Subject: 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 --- firmware/export/wm8985.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'firmware/export/wm8985.h') diff --git a/firmware/export/wm8985.h b/firmware/export/wm8985.h index 8696e3dd6f..f59bc771bd 100644 --- a/firmware/export/wm8985.h +++ b/firmware/export/wm8985.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); -- cgit v1.2.3