summaryrefslogtreecommitdiff
path: root/firmware/export/enc_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/enc_base.h')
-rw-r--r--firmware/export/enc_base.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/export/enc_base.h b/firmware/export/enc_base.h
index e1baa2545a..a9eff523ce 100644
--- a/firmware/export/enc_base.h
+++ b/firmware/export/enc_base.h
@@ -75,15 +75,17 @@ struct aiff_enc_config
75#define MPEG2_5_BITR_CAPS MPEG2_BITR_CAPS 75#define MPEG2_5_BITR_CAPS MPEG2_BITR_CAPS
76#endif 76#endif
77 77
78/* Assume 44100 is always available and therefore MPEG1 */
79
80/* HAVE_MPEG* defines mainly apply to the bitrate menu */ 78/* HAVE_MPEG* defines mainly apply to the bitrate menu */
81#if (REC_SAMPR_CAPS & MPEG2_SAMPR_CAPS) || defined (HAVE_SPDIF_IN) 79#if (REC_SAMPR_CAPS & MPEG1_SAMPR_CAPS) || defined (HAVE_SPDIF_REC)
80#define HAVE_MPEG1_SAMPR
81#endif
82
83#if (REC_SAMPR_CAPS & MPEG2_SAMPR_CAPS) || defined (HAVE_SPDIF_REC)
82#define HAVE_MPEG2_SAMPR 84#define HAVE_MPEG2_SAMPR
83#endif 85#endif
84 86
85#if 0 87#if 0
86#if (REC_SAMPR_CAPS & MPEG2_5_SAMPR_CAPS) || defined (HAVE_SPDIF_IN) 88#if (REC_SAMPR_CAPS & MPEG2_5_SAMPR_CAPS) || defined (HAVE_SPDIF_REC)
87#define HAVE_MPEG2_5_SAMPR 89#define HAVE_MPEG2_5_SAMPR
88#endif 90#endif
89#endif /* 0 */ 91#endif /* 0 */