Describe the problem you have/What new integration you would like
With the new media player functionality added to ESPHome, next thing to think about is how to handle multiple, external (auxiliary) audio sources. This is where audio switches like MAX4908-MAX4932 come into the picture:
These ICs add multiple selectable audio input sources to the media player.
Please describe your use case for this integration and alternatives you've tried:
Use case is for when you have sound coming out from the TV (directly or via an SPDIF-to-Analog converter), or from the PC soundcard/whatever to your living room speakers, and you'd like to integrate them with ESPHome to also play TTS from HA or webradio streams.
In the example schematic above, ESP audio output could be connected to X0 and Y0, while X/Y1 and 2 could be other external sources like television or computer. With proper configuration these sources could be added to Home Assistant media player as available selections.
Additional context
Related to https://github.com/esphome/esphome/pull/3487
There are of course many other similar manufacturers of signal switchers, but the principle is mostly the same.
Describe the problem you have/What new integration you would like With the new media player functionality added to ESPHome, next thing to think about is how to handle multiple, external (auxiliary) audio sources. This is where audio switches like MAX4908-MAX4932 come into the picture:
These ICs add multiple selectable audio input sources to the media player.
Please describe your use case for this integration and alternatives you've tried: Use case is for when you have sound coming out from the TV (directly or via an SPDIF-to-Analog converter), or from the PC soundcard/whatever to your living room speakers, and you'd like to integrate them with ESPHome to also play TTS from HA or webradio streams.
In the example schematic above, ESP audio output could be connected to X0 and Y0, while X/Y1 and 2 could be other external sources like television or computer. With proper configuration these sources could be added to Home Assistant media player as available selections.
Additional context Related to https://github.com/esphome/esphome/pull/3487 There are of course many other similar manufacturers of signal switchers, but the principle is mostly the same.