summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/recording.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 0af31c7f9d..8bcc3ee9af 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -604,18 +604,10 @@ static bool check_dir(char *folder)
604/* the list below must match enum audio_sources in audio.h */ 604/* the list below must match enum audio_sources in audio.h */
605static const char* const prestr[] = 605static const char* const prestr[] =
606{ 606{
607#ifdef HAVE_MIC_IN 607 HAVE_MIC_IN_([AUDIO_SRC_MIC] = "R_MIC_",)
608 "R_MIC_", 608 HAVE_LINE_REC_([AUDIO_SRC_LINEIN] = "R_LINE_",)
609#endif 609 HAVE_SPDIF_IN_([AUDIO_SRC_SPDIF] = "R_SPDIF_",)
610#ifdef HAVE_LINE_REC 610 HAVE_FMRADIO_REC_([AUDIO_SRC_FMRADIO] = "R_FM_",)
611 "R_LINE_",
612#endif
613#ifdef HAVE_SPDIF_IN
614 "R_SPDIF_",
615#endif
616#ifdef HAVE_FMRADIO_REC
617 "R_FM_",
618#endif
619}; 611};
620 612
621char *rec_create_filename(char *buffer) 613char *rec_create_filename(char *buffer)