| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 | menu "Squeezelite-ESP32"	menu "Logging"		config LOGGING_SLIMPROTO        	string "logging level for slimproto "        	default "info"        	help        		Set logging level info|debug|sdebug		config LOGGING_STREAM        	string "logging level for stream "        	default "info"        	help        		Set logging level info|debug|sdebug   		config LOGGING_DECODE        	string "logging level for decode"        	default "info"        	help        		Set logging level info|debug|sdebug 	   		config LOGGING_OUTPUT        	string "logging level for output"        	default "info"        	help        		Set logging level info|debug|sdebug 		endmenu	menu "Wifi Configuration"    config WIFI_SSID        string "WiFi SSID"        default "myssid"        help            SSID (network name) for the example to connect to.    config WIFI_PASSWORD        string "WiFi Password"        default "mypassword"        help            WiFi password (WPA or WPA2) for the example to use.      choice SCAN_METHOD        prompt "scan method"        default WIFI_FAST_SCAN        help            scan method for the esp32 to use        config WIFI_FAST_SCAN            bool "fast"        config WIFI_ALL_CHANNEL_SCAN            bool "all"    endchoice    choice SORT_METHOD        prompt "sort method"        default WIFI_CONNECT_AP_BY_SIGNAL        help            sort method for the esp32 to use        config WIFI_CONNECT_AP_BY_SIGNAL            bool "rssi"        config WIFI_CONNECT_AP_BY_SECURITY            bool "authmode"    endchoice    config FAST_SCAN_THRESHOLD        bool "fast scan threshold"        default y        help            wifi fast scan threshold    config FAST_SCAN_MINIMUM_SIGNAL        int "fast scan minimum rssi"        depends on FAST_SCAN_THRESHOLD        range -127 0        default -127        help            rssi is use to measure the signal    choice FAST_SCAN_WEAKEST_AUTHMODE        prompt "fast scan weakest authmode"        depends on FAST_SCAN_THRESHOLD        default EXAMPLE_OPEN        config EXAMPLE_OPEN            bool "open"        config EXAMPLE_WEP            bool "wep"        config EXAMPLE_WPA            bool "wpa"        config EXAMPLE_WPA2            bool "wpa2"    endchoice    endmenu    menu "Audio CODEC libraries"    config INCLUDE_FLAC        bool "FLAC"        default 1        help            Include FLAC library for flc decoding.    config INCLUDE_FAAD        bool "FAAD"        default 1        help            Include FAAD library for aac decoding.    config INCLUDE_MAD        bool "MAD"        default 1        help            Include mad library for mp3 decoding.	config INCLUDE_VORBIS        bool "VORBIS"        default 1        help            Include vorbis/ogg library for ogg/vorbis decoding.				config INCLUDE_ALAC        bool "ALAC"        default 1        help            Include alac library for alac decoding.				       endmenu	menu "Audio Output"		choice OUTPUT_TYPE	        prompt "Output Type"	        default DACAUDIO	        help	            Type of output for squeezelite to send audio to	        config DACAUDIO	            bool "DAC over I2S"	        config BTAUDIO	            bool "Bluetooth A2DP"	    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"  	    	config I2S_NUM         		        int "I2S channel (0 or 1). "		        default 0		        help		            I2S dma channel to use.  		    config I2S_BCK_IO         		        int "I2S Bit clock GPIO number. "		        default 26		        help		            I2S Bit Clock gpio pin to use.  		    config I2S_WS_IO         		        int "I2S Word Select GPIO number. "		        default 25		        help		            I2S Word Select gpio pin to use.		    config I2S_DO_IO         		        int "I2S Data I/O GPIO number. "		        default 22		        help		            I2S data I/O gpio pin to use.		    choice 	  			prompt "Bit Depth for I2S output"		        default I2S_BITS_PER_CHANNEL_16		        config I2S_BITS_PER_CHANNEL_24		            bool "24 Bits"		        config I2S_BITS_PER_CHANNEL_16		            bool "16 Bits"		        config I2S_BITS_PER_CHANNEL_8		            bool "8 Bits"		    endchoice			config I2S_BITS_PER_CHANNEL			    int			    default 16			    default 16 if I2S_BITS_PER_CHANNEL_16			    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"		        default "SMSL BT4.2"		        help		            This is the name of the bluetooth speaker that Squeezelite will try connecting to.		    config A2DP_DEV_NAME		        string "Name of Squeezelite device to use when connecting to A2DP device"		        default "Squeezelite"		        help		            This is the name of the device that the Bluetooth speaker will see when it is connected to.		    config A2DP_CONTROL_DELAY_MS		        int "Control loop delay. "		        default 500		        help		            Decreasing this will lead to a more responsive BT control, but might lead to noisy log files if debug is enabled.		    config A2DP_CONNECT_TIMEOUT_MS		    	int "Time out duration when trying to connect to an A2DP audio sink"		        default 1000		        help		            Increasing this value will give more chance for less stable connections to be established.	   		endmenu	endmenuendmenu
 |