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
This commit is contained in:
Michael Sevakis 2007-05-04 16:21:32 +00:00
parent dfeeeebee0
commit fd8dd686f4

View file

@ -21,7 +21,7 @@
#define PCM_SAMPR_H
#ifndef HW_SAMPR_CAPS
#define HW_SAMPR_CAPS 0 /* if not defined, we define to 0 */
#define HW_SAMPR_CAPS SAMPR_CAP_44 /* if not defined, default to 44100 */
#endif
/* These must be macros for comparison with SAMPR_CAP_* flags by the
@ -117,9 +117,13 @@ enum hw_freq_indexes
#define HW_HAVE_48_(...)
#endif
/* 44100 */
#if (HW_SAMPR_CAPS & SAMPR_CAP_44)
HW_FREQ_44,
#define HW_HAVE_44
#define HW_HAVE_44_(...) __VA_ARGS__
#else
#define HW_HAVE_44_(...)
#endif
/* 32000 */
#if (HW_SAMPR_CAPS & SAMPR_CAP_32)
HW_FREQ_32,