summaryrefslogtreecommitdiff
path: root/firmware/export/mas35xx.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/mas35xx.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/mas35xx.h')
-rw-r--r--firmware/export/mas35xx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/mas35xx.h b/firmware/export/mas35xx.h
index a4e2413344..dbe9d38a37 100644
--- a/firmware/export/mas35xx.h
+++ b/firmware/export/mas35xx.h
@@ -24,6 +24,8 @@
#include "config.h"
+#define AUDIOHW_CAPS (BASS_CAP | TREBLE_CAP)
+
#if CONFIG_CODEC == MAS3507D
#define VOLUME_MIN -780
#define VOLUME_MAX 180