Refine speaker settings for esp-idf

Solves #95
This commit is contained in:
Edward Firmo
2025-07-30 07:28:05 +02:00
parent ba041a9d50
commit 912607d1ec
3 changed files with 32 additions and 16 deletions

View File

@@ -179,4 +179,19 @@ speaker:
i2s_audio_id: if_i2s_audio
i2s_comm_fmt: stand_msb
channel: mono
#timeout: never
#bits_per_sample: 16bit
#sample_rate: 48000
#buffer_duration: 500ms
switch:
- id: sw_speaker_amplifier
name: Speaker - Amplifier
platform: gpio
pin:
number: GPIO26
inverted: true
restore_mode: ALWAYS_OFF
internal: true
entity_category: config
...