mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
BT merge
This commit is contained in:
21
main/esp32.c
21
main/esp32.c
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user