diff options
Diffstat (limited to 'firmware/export/pcm_sampr.h')
-rw-r--r-- | firmware/export/pcm_sampr.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/export/pcm_sampr.h b/firmware/export/pcm_sampr.h index 62bfd0068b..01a8ed428e 100644 --- a/firmware/export/pcm_sampr.h +++ b/firmware/export/pcm_sampr.h | |||
@@ -305,6 +305,8 @@ enum rec_freq_indexes | |||
305 | #define REC_SAMPR_DEFAULT SAMPR_44 | 305 | #define REC_SAMPR_DEFAULT SAMPR_44 |
306 | #endif | 306 | #endif |
307 | 307 | ||
308 | #define HW_SAMPR_RESET 0 | ||
309 | |||
308 | #define REC_FREQ_CFG_VAL_LIST &REC_HAVE_96_(",96") REC_HAVE_88_(",88") \ | 310 | #define REC_FREQ_CFG_VAL_LIST &REC_HAVE_96_(",96") REC_HAVE_88_(",88") \ |
309 | REC_HAVE_64_(",64") REC_HAVE_48_(",48") \ | 311 | REC_HAVE_64_(",64") REC_HAVE_48_(",48") \ |
310 | REC_HAVE_44_(",44") REC_HAVE_32_(",32") \ | 312 | REC_HAVE_44_(",44") REC_HAVE_32_(",32") \ |
@@ -324,7 +326,8 @@ extern const unsigned long rec_freq_sampr[REC_NUM_FREQ]; | |||
324 | #define SAMPR_TYPE_REC (0x01 << 24) | 326 | #define SAMPR_TYPE_REC (0x01 << 24) |
325 | #endif | 327 | #endif |
326 | 328 | ||
327 | unsigned int pcm_sampr_type_rec_to_play(unsigned int samplerate); | 329 | unsigned int pcm_sampr_to_hw_sampr(unsigned int samplerate, |
330 | unsigned int type); | ||
328 | 331 | ||
329 | #else /* ndef CONFIG_SAMPR_TYPES */ | 332 | #else /* ndef CONFIG_SAMPR_TYPES */ |
330 | 333 | ||