mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-13 15:07:01 +03:00
add a quick LED helper / prepare SqueezeAMP menuconfig
This commit is contained in:
@@ -123,26 +123,17 @@ menu "Squeezelite-ESP32"
|
||||
menu "Audio Output"
|
||||
choice OUTPUT_TYPE
|
||||
prompt "Output Type"
|
||||
default DACAUDIO
|
||||
default BASIC_I2C_BT
|
||||
help
|
||||
Type of output for squeezelite to send audio to
|
||||
config DACAUDIO
|
||||
bool "DAC over I2S"
|
||||
config BTAUDIO
|
||||
bool "Bluetooth A2DP"
|
||||
Type of hardware platform
|
||||
config SQUEEZEAMP
|
||||
bool "SqueezeAMP (TAS575x & Bluetooth)"
|
||||
config BASIC_I2C_BT
|
||||
bool "Generic I2S & Bluetooth"
|
||||
endchoice
|
||||
config OUTPUT_NAME
|
||||
string
|
||||
default ""
|
||||
default "BT" if BTAUDIO
|
||||
default "DAC" if DACAUDIO
|
||||
|
||||
config OUTPUT_RATES
|
||||
string "Output rates"
|
||||
default "44100"
|
||||
help
|
||||
<rates>[:<delay>] Sample rates supported, allows output to be off when squeezelite is started; rates = <maxrate>|<minrate>-<maxrate>|<rate1>,<rate2>,<rate3>; delay = optional delay switching rates in ms
|
||||
menu "DAC I2S settings"
|
||||
|
||||
menu "DAC I2S settings"
|
||||
depends on BASIC_I2C_BT
|
||||
config I2S_NUM
|
||||
int "I2S channel (0 or 1). "
|
||||
default 0
|
||||
@@ -180,6 +171,7 @@ menu "Squeezelite-ESP32"
|
||||
default 24 if I2S_BITS_PER_CHANNEL_24
|
||||
default 8 if I2S_BITS_PER_CHANNEL_8
|
||||
endmenu
|
||||
|
||||
menu "A2DP settings"
|
||||
config A2DP_SINK_NAME
|
||||
string "Name of Bluetooth A2DP device"
|
||||
|
||||
Reference in New Issue
Block a user