diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 15:21:24 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 15:21:24 +0000 |
commit | 5d730497688c89d905727551952adb9a43404572 (patch) | |
tree | 7adec7c715ba6e1eaad0ad31bc0b0ec5ee493bdc | |
parent | 2aaf45e643053b9a3515e4320b82b16fb32be02a (diff) | |
download | rockbox-5d730497688c89d905727551952adb9a43404572.tar.gz rockbox-5d730497688c89d905727551952adb9a43404572.zip |
Gigabeat: Remove the 8kHz for now because it doesn't seem to work too well. Also, HW_SAMPR_CAPS should always be defined for sim and target.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13321 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/config-gigabeat.h | 6 | ||||
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h index cd2fac360c..35b6175227 100644 --- a/firmware/export/config-gigabeat.h +++ b/firmware/export/config-gigabeat.h | |||
@@ -70,6 +70,9 @@ | |||
70 | 70 | ||
71 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ | 71 | #define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ |
72 | 72 | ||
73 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ | ||
74 | SAMPR_CAP_11) | ||
75 | |||
73 | #ifndef SIMULATOR | 76 | #ifndef SIMULATOR |
74 | 77 | ||
75 | /* The LCD on a Gigabeat is 240x320 - it is portrait */ | 78 | /* The LCD on a Gigabeat is 240x320 - it is portrait */ |
@@ -133,7 +136,4 @@ | |||
133 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 136 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
134 | #define BOOTDIR "/.rockbox" | 137 | #define BOOTDIR "/.rockbox" |
135 | 138 | ||
136 | #define HW_SAMPR_CAPS (SAMPR_CAP_88 | SAMPR_CAP_44 | SAMPR_CAP_22 | \ | ||
137 | SAMPR_CAP_11 | SAMPR_CAP_8) | ||
138 | |||
139 | #endif | 139 | #endif |
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c index 09f846d645..52ab3f165f 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/pcm-meg-fx.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include "file.h" | 25 | #include "file.h" |
26 | #include "mmu-meg-fx.h" | 26 | #include "mmu-meg-fx.h" |
27 | 27 | ||
28 | #define GIGABEAT_8000HZ (0x02 << 1) | ||
29 | #define GIGABEAT_11025HZ (0x19 << 1) | 28 | #define GIGABEAT_11025HZ (0x19 << 1) |
30 | #define GIGABEAT_22050HZ (0x1b << 1) | 29 | #define GIGABEAT_22050HZ (0x1b << 1) |
31 | #define GIGABEAT_44100HZ (0x11 << 1) | 30 | #define GIGABEAT_44100HZ (0x11 << 1) |
@@ -256,9 +255,6 @@ void pcm_set_frequency(unsigned int frequency) | |||
256 | { | 255 | { |
257 | switch(frequency) | 256 | switch(frequency) |
258 | { | 257 | { |
259 | case SAMPR_8: | ||
260 | sr_ctrl = GIGABEAT_8000HZ; | ||
261 | break; | ||
262 | case SAMPR_11: | 258 | case SAMPR_11: |
263 | sr_ctrl = GIGABEAT_11025HZ; | 259 | sr_ctrl = GIGABEAT_11025HZ; |
264 | break; | 260 | break; |