[resampler] Allow resampler to passthrough bits per sample instead of converting (#16892)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Kevin Ahrendt
2026-06-10 18:21:04 -04:00
committed by GitHub
parent cd7e54dbf2
commit 77009cfafe
4 changed files with 63 additions and 20 deletions

View File

@@ -7,3 +7,8 @@ speaker:
- platform: resampler
id: resampler_speaker_id
output_speaker: resampler_i2s_speaker_id
bits_per_sample: 16
- platform: resampler
id: resampler_speaker_2_id
output_speaker: resampler_speaker_id
bits_per_sample: passthrough