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
This commit is contained in:
parent
05b8a9252c
commit
6c36a58e49
1 changed files with 4 additions and 12 deletions
|
@ -604,18 +604,10 @@ static bool check_dir(char *folder)
|
|||
/* the list below must match enum audio_sources in audio.h */
|
||||
static const char* const prestr[] =
|
||||
{
|
||||
#ifdef HAVE_MIC_IN
|
||||
"R_MIC_",
|
||||
#endif
|
||||
#ifdef HAVE_LINE_REC
|
||||
"R_LINE_",
|
||||
#endif
|
||||
#ifdef HAVE_SPDIF_IN
|
||||
"R_SPDIF_",
|
||||
#endif
|
||||
#ifdef HAVE_FMRADIO_REC
|
||||
"R_FM_",
|
||||
#endif
|
||||
HAVE_MIC_IN_([AUDIO_SRC_MIC] = "R_MIC_",)
|
||||
HAVE_LINE_REC_([AUDIO_SRC_LINEIN] = "R_LINE_",)
|
||||
HAVE_SPDIF_IN_([AUDIO_SRC_SPDIF] = "R_SPDIF_",)
|
||||
HAVE_FMRADIO_REC_([AUDIO_SRC_FMRADIO] = "R_FM_",)
|
||||
};
|
||||
|
||||
char *rec_create_filename(char *buffer)
|
||||
|
|
Loading…
Reference in a new issue