diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 16:21:32 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-05-04 16:21:32 +0000 |
commit | fd8dd686f4ebf1681b8c6aa3e9e94d0bb8dd76ad (patch) | |
tree | 6928b80090ac5dee54c0bdcf11826afa98fee299 | |
parent | dfeeeebee0b62146f1ae70ad5e530386858043a7 (diff) | |
download | rockbox-fd8dd686f4ebf1681b8c6aa3e9e94d0bb8dd76ad.tar.gz rockbox-fd8dd686f4ebf1681b8c6aa3e9e94d0bb8dd76ad.zip |
Default HW_SAMPR_CAPS should be SAMPR_CAP_44, not 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13323 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/pcm_sampr.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/pcm_sampr.h b/firmware/export/pcm_sampr.h index 4f6d5ddf93..27a300d645 100644 --- a/firmware/export/pcm_sampr.h +++ b/firmware/export/pcm_sampr.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #define PCM_SAMPR_H | 21 | #define PCM_SAMPR_H |
22 | 22 | ||
23 | #ifndef HW_SAMPR_CAPS | 23 | #ifndef HW_SAMPR_CAPS |
24 | #define HW_SAMPR_CAPS 0 /* if not defined, we define to 0 */ | 24 | #define HW_SAMPR_CAPS SAMPR_CAP_44 /* if not defined, default to 44100 */ |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | /* These must be macros for comparison with SAMPR_CAP_* flags by the | 27 | /* These must be macros for comparison with SAMPR_CAP_* flags by the |
@@ -117,9 +117,13 @@ enum hw_freq_indexes | |||
117 | #define HW_HAVE_48_(...) | 117 | #define HW_HAVE_48_(...) |
118 | #endif | 118 | #endif |
119 | /* 44100 */ | 119 | /* 44100 */ |
120 | #if (HW_SAMPR_CAPS & SAMPR_CAP_44) | ||
120 | HW_FREQ_44, | 121 | HW_FREQ_44, |
121 | #define HW_HAVE_44 | 122 | #define HW_HAVE_44 |
122 | #define HW_HAVE_44_(...) __VA_ARGS__ | 123 | #define HW_HAVE_44_(...) __VA_ARGS__ |
124 | #else | ||
125 | #define HW_HAVE_44_(...) | ||
126 | #endif | ||
123 | /* 32000 */ | 127 | /* 32000 */ |
124 | #if (HW_SAMPR_CAPS & SAMPR_CAP_32) | 128 | #if (HW_SAMPR_CAPS & SAMPR_CAP_32) |
125 | HW_FREQ_32, | 129 | HW_FREQ_32, |