mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[resampler] Media Player Components PR7 (#8169)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
13
tests/components/resampler/common.yaml
Normal file
13
tests/components/resampler/common.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: ${lrclk_pin}
|
||||
i2s_bclk_pin: ${bclk_pin}
|
||||
i2s_mclk_pin: ${mclk_pin}
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
id: speaker_id
|
||||
dac_type: external
|
||||
i2s_dout_pin: ${dout_pin}
|
||||
- platform: resampler
|
||||
id: resampler_speaker_id
|
||||
output_speaker: speaker_id
|
7
tests/components/resampler/test.esp32-ard.yaml
Normal file
7
tests/components/resampler/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO16
|
||||
bclk_pin: GPIO17
|
||||
mclk_pin: GPIO15
|
||||
dout_pin: GPIO14
|
||||
|
||||
<<: !include common.yaml
|
7
tests/components/resampler/test.esp32-c3-ard.yaml
Normal file
7
tests/components/resampler/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO4
|
||||
bclk_pin: GPIO5
|
||||
mclk_pin: GPIO6
|
||||
dout_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
7
tests/components/resampler/test.esp32-c3-idf.yaml
Normal file
7
tests/components/resampler/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO4
|
||||
bclk_pin: GPIO5
|
||||
mclk_pin: GPIO6
|
||||
dout_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
7
tests/components/resampler/test.esp32-idf.yaml
Normal file
7
tests/components/resampler/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO16
|
||||
bclk_pin: GPIO17
|
||||
mclk_pin: GPIO15
|
||||
dout_pin: GPIO14
|
||||
|
||||
<<: !include common.yaml
|
7
tests/components/resampler/test.esp32-s3-ard.yaml
Normal file
7
tests/components/resampler/test.esp32-s3-ard.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO4
|
||||
bclk_pin: GPIO5
|
||||
mclk_pin: GPIO6
|
||||
dout_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
7
tests/components/resampler/test.esp32-s3-idf.yaml
Normal file
7
tests/components/resampler/test.esp32-s3-idf.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
substitutions:
|
||||
lrclk_pin: GPIO4
|
||||
bclk_pin: GPIO5
|
||||
mclk_pin: GPIO6
|
||||
dout_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
Reference in New Issue
Block a user