From e69d567d9ebf7d236ff9663b11ac396cc71dcd75 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 12 Dec 2008 11:01:07 +0000 Subject: Bring consistency to pcm implementation and samplerate handling. Less low-level duplication. A small test_sampr fix so it works on coldfire again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19400 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-gigabeat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export/config-gigabeat.h') diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h index 664befd54e..708c17fd8a 100644 --- a/firmware/export/config-gigabeat.h +++ b/firmware/export/config-gigabeat.h @@ -105,6 +105,12 @@ #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ SAMPR_CAP_11) +/* All exact rates for 16.9344MHz clock */ +#define CODEC_SRCTRL_11025HZ (0x19 << 1) +#define CODEC_SRCTRL_22050HZ (0x1b << 1) +#define CODEC_SRCTRL_44100HZ (0x11 << 1) +#define CODEC_SRCTRL_88200HZ (0x1f << 1) + #define HAVE_HEADPHONE_DETECTION #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ -- cgit v1.2.3