Return full audio settings
This commit is contained in:
@@ -178,11 +178,11 @@ speaker:
|
|||||||
i2s_dout_pin: GPIO15
|
i2s_dout_pin: GPIO15
|
||||||
i2s_audio_id: if_i2s_audio
|
i2s_audio_id: if_i2s_audio
|
||||||
i2s_comm_fmt: stand_msb
|
i2s_comm_fmt: stand_msb
|
||||||
channel: mono
|
channel: stereo
|
||||||
# timeout: never
|
timeout: never
|
||||||
# bits_per_sample: 16bit
|
bits_per_sample: 16bit
|
||||||
# sample_rate: 48000
|
sample_rate: 48000
|
||||||
# buffer_duration: 500ms
|
buffer_duration: 500ms
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- id: sw_speaker_amplifier
|
- id: sw_speaker_amplifier
|
||||||
@@ -190,8 +190,8 @@ switch:
|
|||||||
platform: gpio
|
platform: gpio
|
||||||
pin:
|
pin:
|
||||||
number: GPIO26
|
number: GPIO26
|
||||||
inverted: true
|
inverted: false
|
||||||
restore_mode: ALWAYS_OFF
|
restore_mode: ALWAYS_ON
|
||||||
internal: true
|
internal: true
|
||||||
entity_category: config
|
entity_category: config
|
||||||
...
|
...
|
||||||
|
|||||||
@@ -29,14 +29,14 @@ media_player:
|
|||||||
task_stack_in_psram: false
|
task_stack_in_psram: false
|
||||||
announcement_pipeline:
|
announcement_pipeline:
|
||||||
speaker: announcement_spk_resampling_input
|
speaker: announcement_spk_resampling_input
|
||||||
# format: WAV
|
format: WAV
|
||||||
# num_channels: 1
|
num_channels: 1
|
||||||
# sample_rate: 48000
|
sample_rate: 48000
|
||||||
media_pipeline:
|
media_pipeline:
|
||||||
speaker: media_spk_resampling_input
|
speaker: media_spk_resampling_input
|
||||||
# format: FLAC
|
format: FLAC
|
||||||
# num_channels: 1
|
num_channels: 1
|
||||||
# sample_rate: 48000
|
sample_rate: 48000
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- id: !extend dump_config_list_packages
|
- id: !extend dump_config_list_packages
|
||||||
|
|||||||
Reference in New Issue
Block a user