This commit is contained in:
philippe44
2019-05-25 11:19:12 -07:00
parent 4e33d3fea4
commit ddfc03ea9b
11 changed files with 1109 additions and 22 deletions

View File

@@ -1,5 +1,6 @@
#include <signal.h>
#include "sdkconfig.h"
#include "esp_system.h"
#include "squeezelite.h"
@@ -22,24 +23,38 @@ struct codec *register_mpg(void) {
return NULL;
}
#ifndef CONFIG_AUDIO_FAAD
#if !CONFIG_INCLUDE_FAAD
struct codec *register_faad(void) {
LOG_INFO("aac unavailable");
return NULL;
}
#endif
#ifndef CONFIG_AUDIO_MAD
#if !CONFIG_INCLUDE_MAD
struct codec *register_mad(void) {
LOG_INFO("mad unavailable");
return NULL;
}
#endif
#ifndef CONFIG_AUDIO_FLAC
#if !CONFIG_INCLUDE_FLAC
struct codec *register_flac(void) {
LOG_INFO("flac unavailable");
return NULL;
}
#endif
#if !CONFIG_INCLUDE_VORBIS
struct codec *register_vorbis(void) {
LOG_INFO("vorbis unavailable");
return NULL;
}
#endif
#if !CONFIG_INCLUDE_ALAC
struct codec *register_alac(void) {
LOG_INFO("alac unavailable");
return NULL;
}
#endif