summaryrefslogtreecommitdiff
path: root/firmware/export/config/meizum6sp.h
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-01-14 20:16:03 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-01-14 20:16:03 +0000
commitb3cba9021f0b5437afbacc286b5e026c84ef7141 (patch)
treee2d81af292de964188c26c7a5de312732978c949 /firmware/export/config/meizum6sp.h
parent75400545be5fbec85517a20ac6a85e1beb7da6ff (diff)
downloadrockbox-b3cba9021f0b5437afbacc286b5e026c84ef7141.tar.gz
rockbox-b3cba9021f0b5437afbacc286b5e026c84ef7141.zip
Meizu M6SP: add stubs so the meizu m6sp binary compiles and links
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24228 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config/meizum6sp.h')
-rw-r--r--firmware/export/config/meizum6sp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config/meizum6sp.h b/firmware/export/config/meizum6sp.h
index 0fc7264192..1cba45d70a 100644
--- a/firmware/export/config/meizum6sp.h
+++ b/firmware/export/config/meizum6sp.h
@@ -18,6 +18,12 @@
18/* define the bitmask of hardware sample rates */ 18/* define the bitmask of hardware sample rates */
19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 19#define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
20 20
21/* FIXME: define actual rates applicable for M6SP */
22#define CODEC_SRCTRL_11025HZ (0x19 << 1)
23#define CODEC_SRCTRL_22050HZ (0x1b << 1)
24#define CODEC_SRCTRL_44100HZ (0x11 << 1)
25#define CODEC_SRCTRL_88200HZ (0x1f << 1)
26
21/* define the bitmask of recording sample rates */ 27/* define the bitmask of recording sample rates */
22#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11) 28#define REC_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | SAMPR_CAP_11)
23 29