mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-07-01 00:46:03 +02:00
Fix media-player on mcu-echo
This commit is contained in:
+2
-1
@@ -101,7 +101,7 @@ speaker:
|
|||||||
dac_type: external
|
dac_type: external
|
||||||
i2s_dout_pin: 22
|
i2s_dout_pin: 22
|
||||||
channel: mono
|
channel: mono
|
||||||
sample_rate: 48000
|
sample_rate: 16000
|
||||||
buffer_duration: 100ms # Smaller buffer
|
buffer_duration: 100ms # Smaller buffer
|
||||||
- platform: mixer
|
- platform: mixer
|
||||||
id: mixer_speaker_id
|
id: mixer_speaker_id
|
||||||
@@ -127,6 +127,7 @@ media_player:
|
|||||||
id: media_out
|
id: media_out
|
||||||
name: Player
|
name: Player
|
||||||
codec_support_enabled: false
|
codec_support_enabled: false
|
||||||
|
buffer_size: 14000
|
||||||
media_pipeline:
|
media_pipeline:
|
||||||
speaker: media_spk_resampling_input
|
speaker: media_spk_resampling_input
|
||||||
# format: WAV
|
# format: WAV
|
||||||
|
|||||||
Reference in New Issue
Block a user