diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-12 11:01:07 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-12 11:01:07 +0000 |
commit | e69d567d9ebf7d236ff9663b11ac396cc71dcd75 (patch) | |
tree | 093b9d1bc979d79be1fcd0daac1d8daf8ac55503 /firmware/export/config-gigabeat.h | |
parent | 0ad97d13fc52b28de566dc0ddaf7245583eec2cc (diff) | |
download | rockbox-e69d567d9ebf7d236ff9663b11ac396cc71dcd75.tar.gz rockbox-e69d567d9ebf7d236ff9663b11ac396cc71dcd75.zip |
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
Diffstat (limited to 'firmware/export/config-gigabeat.h')
-rw-r--r-- | firmware/export/config-gigabeat.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ | |||
105 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ | 105 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ |
106 | SAMPR_CAP_11) | 106 | SAMPR_CAP_11) |
107 | 107 | ||
108 | /* All exact rates for 16.9344MHz clock */ | ||
109 | #define CODEC_SRCTRL_11025HZ (0x19 << 1) | ||
110 | #define CODEC_SRCTRL_22050HZ (0x1b << 1) | ||
111 | #define CODEC_SRCTRL_44100HZ (0x11 << 1) | ||
112 | #define CODEC_SRCTRL_88200HZ (0x1f << 1) | ||
113 | |||
108 | #define HAVE_HEADPHONE_DETECTION | 114 | #define HAVE_HEADPHONE_DETECTION |
109 | 115 | ||
110 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ | 116 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ |