Kconfig.projbuild 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. menu "Squeezelite-ESP32"
  2. menu "Logging"
  3. config LOGGING_SLIMPROTO
  4. string "logging level for slimproto "
  5. default "info"
  6. help
  7. Set logging level info|debug|sdebug
  8. config LOGGING_STREAM
  9. string "logging level for stream "
  10. default "info"
  11. help
  12. Set logging level info|debug|sdebug
  13. config LOGGING_DECODE
  14. string "logging level for decode"
  15. default "info"
  16. help
  17. Set logging level info|debug|sdebug
  18. config LOGGING_OUTPUT
  19. string "logging level for output"
  20. default "info"
  21. help
  22. Set logging level info|debug|sdebug
  23. endmenu
  24. menu "Audio CODEC libraries"
  25. config INCLUDE_FLAC
  26. bool "FLAC"
  27. default 1
  28. help
  29. Include FLAC library for flc decoding.
  30. config INCLUDE_FAAD
  31. bool "FAAD"
  32. default 1
  33. help
  34. Include FAAD library for aac decoding.
  35. config INCLUDE_MAD
  36. bool "MAD"
  37. default 1
  38. help
  39. Include mad library for mp3 decoding.
  40. config INCLUDE_VORBIS
  41. bool "VORBIS"
  42. default 1
  43. help
  44. Include vorbis/ogg library for ogg/vorbis decoding.
  45. config INCLUDE_ALAC
  46. bool "ALAC"
  47. default 1
  48. help
  49. Include alac library for alac decoding.
  50. config INCLUDE_OPUS
  51. bool "OPUS"
  52. default 1
  53. help
  54. Include opus library for opus decoding.
  55. endmenu
  56. menu "Audio Output"
  57. choice OUTPUT_TYPE
  58. prompt "Output Type"
  59. default BASIC_I2C_BT
  60. help
  61. Type of hardware platform
  62. config SQUEEZEAMP
  63. bool "SqueezeAMP (TAS575x & Bluetooth)"
  64. config BASIC_I2C_BT
  65. bool "Generic I2S & Bluetooth"
  66. endchoice
  67. menu "DAC I2S settings"
  68. depends on BASIC_I2C_BT
  69. config I2S_NUM
  70. int "I2S channel (0 or 1). "
  71. default 0
  72. help
  73. I2S dma channel to use.
  74. config I2S_BCK_IO
  75. int "I2S Bit clock GPIO number. "
  76. default 26
  77. help
  78. I2S Bit Clock gpio pin to use.
  79. config I2S_WS_IO
  80. int "I2S Word Select GPIO number. "
  81. default 25
  82. help
  83. I2S Word Select gpio pin to use.
  84. config I2S_DO_IO
  85. int "I2S Data I/O GPIO number. "
  86. default 22
  87. help
  88. I2S data I/O gpio pin to use.
  89. choice
  90. prompt "Bit Depth for I2S output"
  91. default I2S_BITS_PER_CHANNEL_16
  92. config I2S_BITS_PER_CHANNEL_24
  93. bool "24 Bits"
  94. config I2S_BITS_PER_CHANNEL_16
  95. bool "16 Bits"
  96. config I2S_BITS_PER_CHANNEL_8
  97. bool "8 Bits"
  98. endchoice
  99. config I2S_BITS_PER_CHANNEL
  100. int
  101. default 16
  102. default 16 if I2S_BITS_PER_CHANNEL_16
  103. default 24 if I2S_BITS_PER_CHANNEL_24
  104. default 8 if I2S_BITS_PER_CHANNEL_8
  105. endmenu
  106. menu "SPDIF settings"
  107. depends on BASIC_I2C_BT
  108. config SDIF_NUM
  109. int "SDPIF/I2S channel (0 or 1)"
  110. default 0
  111. help
  112. I2S dma channel to use.
  113. config SPDIF_BCK_IO
  114. int "SDPIF/I2S Bit clock GPIO number"
  115. default 26
  116. help
  117. Not used but must be configured.
  118. config SPDIF_WS_IO
  119. int "SPDIF/I2S Word Select GPIO number"
  120. default 25
  121. help
  122. Not used but must be configured.
  123. config SPDIF_DO_IO
  124. int "I2S Data I/O GPIO number"
  125. default 15
  126. help
  127. SPDIF/I2S data I/O gpio pin to use
  128. endmenu
  129. menu "A2DP settings"
  130. config A2DP_SINK_NAME
  131. string "Name of Bluetooth A2DP device"
  132. default "SMSL BT4.2"
  133. help
  134. This is the name of the bluetooth speaker that Squeezelite will try connecting to.
  135. config A2DP_DEV_NAME
  136. string "Name of Squeezelite device to use when connecting to A2DP device"
  137. default "Squeezelite"
  138. help
  139. This is the name of the device that the Bluetooth speaker will see when it is connected to.
  140. config A2DP_CONTROL_DELAY_MS
  141. int "Control loop delay. "
  142. default 500
  143. help
  144. Decreasing this will lead to a more responsive BT control, but might lead to noisy log files if debug is enabled.
  145. config A2DP_CONNECT_TIMEOUT_MS
  146. int "Time out duration when trying to connect to an A2DP audio sink"
  147. default 1000
  148. help
  149. Increasing this value will give more chance for less stable connections to be established.
  150. endmenu
  151. endmenu
  152. menu "Audio Input"
  153. config BT_SINK
  154. bool "Bluetooth receiver"
  155. default y
  156. help
  157. Enable bluetooth sink (Note that you obviously can't at the same time be a Bluetooth receiver and transmitter)
  158. config BT_SINK_NAME
  159. depends on BT_SINK
  160. string "Name of Bluetooth A2DP device"
  161. default "ESP32-BT"
  162. help
  163. This is the name of the bluetooth speaker that will be broadcasted
  164. config BT_SINK_PIN
  165. depends on BT_SINK
  166. int "Bluetooth PIN code"
  167. default 1234
  168. config AIRPLAY_SINK
  169. bool "AirPlay receiver"
  170. default y
  171. config AIRPLAY_NAME
  172. depends on AIRPLAY_SINK
  173. string "Name of AirPlay device"
  174. default "ESP32-AirPlay"
  175. help
  176. This is the name of the AirPlay speaker that will be broadcasted
  177. config AIRPLAY_PORT
  178. depends on AIRPLAY_SINK
  179. string "AirPlay listening port"
  180. default 5000
  181. help
  182. AirPlay service listening port
  183. endmenu
  184. endmenu