speaker:
  - platform: i2s_audio
    id: resampler_i2s_speaker_id
    i2s_audio_id: i2s_audio_bus
    dac_type: external
    i2s_dout_pin: ${dout_pin}
  - 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
