summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-08-03 18:55:00 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-08-03 18:55:00 +0000
commit6c36a58e49e44260255345a2889fafef04cc893e (patch)
tree8effd2c40ac3f1ece60ae23130a1c494f9886f8b /apps
parent05b8a9252c03a33cdcdc57084a36cff6c011abd3 (diff)
downloadrockbox-6c36a58e49e44260255345a2889fafef04cc893e.tar.gz
rockbox-6c36a58e49e44260255345a2889fafef04cc893e.zip
Final changes to the recording naming code, this should make jhMikeS happy ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14165 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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)