summaryrefslogtreecommitdiff
path: root/firmware/export/wm8758.h
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2008-04-28 08:37:18 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2008-04-28 08:37:18 +0000
commit8391526f794b296e5b6edd5707bbf25b5be73e17 (patch)
treec35e4565831b3a822394e98da32dc79db339345b /firmware/export/wm8758.h
parent17f7adb90d232e6dece891790405d1b99b5b8215 (diff)
* introduce AUDIOHW_CAPS to define which audio codec can do what kind of operations in hw, e.g. setting bass
* added documentation why and when we need the software based prescaler * implement audiohw_set_bass and audiohw_set_treble for mas35xx * clean up sound_set_bass and sound_set_treble * simplify some #ifdef logic * fix special handling of WM8751 - looking for tester :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/wm8758.h')
-rw-r--r--firmware/export/wm8758.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/wm8758.h b/firmware/export/wm8758.h
index 61db094684..5e37e203d5 100644
--- a/firmware/export/wm8758.h
+++ b/firmware/export/wm8758.h
@@ -24,15 +24,15 @@
#define VOLUME_MIN -570
#define VOLUME_MAX 60
+#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP)
+
extern int tenthdb2master(int db);
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(int value);
extern void audiohw_set_bass_cutoff(int value);
-extern void audiohw_set_treble(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);