diff --git a/firmware/export/id3.h b/firmware/export/id3.h index dd099e0204..3d24e2006e 100644 --- a/firmware/export/id3.h +++ b/firmware/export/id3.h @@ -34,9 +34,8 @@ enum AFMT_MPA_L2, /* MPEG Audio layer 2 */ AFMT_MPA_L3, /* MPEG Audio layer 3 */ - AFMT_AIFF, /* Audio Interchange File Format */ - #if CONFIG_CODEC == SWCODEC + AFMT_AIFF, /* Audio Interchange File Format */ AFMT_PCM_WAV, /* Uncompressed PCM in a WAV file */ AFMT_OGG_VORBIS, /* Ogg Vorbis */ AFMT_FLAC, /* FLAC */ diff --git a/firmware/id3.c b/firmware/id3.c index 7d03c75331..470f4dc352 100644 --- a/firmware/id3.c +++ b/firmware/id3.c @@ -61,11 +61,10 @@ const struct afmt_entry audio_formats[AFMT_NUM_CODECS] = [AFMT_MPA_L3] = AFMT_ENTRY("MP3", "mpa", "mp3_enc", "mp3\0" ), +#if CONFIG_CODEC == SWCODEC /* Audio Interchange File Format */ [AFMT_AIFF] = AFMT_ENTRY("AIFF", "aiff", NULL, "aiff\0aif\0"), - -#if CONFIG_CODEC == SWCODEC /* Uncompressed PCM in a WAV file */ [AFMT_PCM_WAV] = AFMT_ENTRY("WAV", "wav", "wav_enc", "wav\0" ),