diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2010-06-26 10:37:41 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2010-06-26 10:37:41 +0000 |
| commit | e0bb92f00fdbcfd726407c688f5d82d3fa470a99 (patch) | |
| tree | cefba4ff20c1d1bee274a6a4af4b16abc232679a /firmware/export | |
| parent | c3eca575b637201658dc7a1222c17b144d19686d (diff) | |
| download | rockbox-e0bb92f00fdbcfd726407c688f5d82d3fa470a99.zip rockbox-e0bb92f00fdbcfd726407c688f5d82d3fa470a99.tar.gz rockbox-e0bb92f00fdbcfd726407c688f5d82d3fa470a99.tar.bz2 rockbox-e0bb92f00fdbcfd726407c688f5d82d3fa470a99.tar.xz | |
Should clear up rest of red. Add a required #define in the config for c200. Fix up some preprocessing directives. Hope it's all taken care of now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config/sansac200.h | 5 | ||||
| -rw-r--r-- | firmware/export/pcm_sampr.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/firmware/export/config/sansac200.h b/firmware/export/config/sansac200.h index 6c05ba5..3240af4 100644 --- a/firmware/export/config/sansac200.h +++ b/firmware/export/config/sansac200.h @@ -16,6 +16,11 @@ #define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */ #define REC_SAMPR_DEFAULT SAMPR_22 +/* because the samplerates don't match at each point, we must be able to + * tell PCM which set of rates to use. not needed if recording rates are + * a simple subset of playback rates and are equal values. */ +#define CONFIG_SAMPR_TYPES + /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ #define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) diff --git a/firmware/export/pcm_sampr.h b/firmware/export/pcm_sampr.h index c46e3ea..62bfd00 100644 --- a/firmware/export/pcm_sampr.h +++ b/firmware/export/pcm_sampr.h @@ -324,7 +324,7 @@ extern const unsigned long rec_freq_sampr[REC_NUM_FREQ]; #define SAMPR_TYPE_REC (0x01 << 24) #endif -unsigned int sampr_type_rec_to_play(unsigned int samplerate); +unsigned int pcm_sampr_type_rec_to_play(unsigned int samplerate); #else /* ndef CONFIG_SAMPR_TYPES */ |