spa: alsa: Read and expose channel count and position from ELD

The next step will be to propagate this to the correct node.
This commit is contained in:
Arun Raghavan 2025-10-08 16:38:51 -07:00 committed by Wim Taymans
parent d268b6e104
commit 91e2f184e2
4 changed files with 90 additions and 3 deletions

View file

@ -153,6 +153,18 @@ const char *acp_available_str(enum acp_available status);
* values may be incorrect and/or might change, e.g. when external devices such
* as receivers are powered on or off.
*/
#define ACP_KEY_AUDIO_CHANNELS_DETECTED "audio.channels.detected"
/**< The number of channels detected detected via EDID-like data read from a device
* connected via HDMI/DisplayPort. This only serves as a hint, as the auto-detected
* values may be incorrect and/or might change, e.g. when external devices such
* as receivers are powered on or off.
*/
#define ACP_KEY_AUDIO_POSITION_DETECTED "audio.position.detected"
/**< The channel positions detected detected via EDID-like data read from a device
* connected via HDMI/DisplayPort. This only serves as a hint, as the auto-detected
* values may be incorrect and/or might change, e.g. when external devices such
* as receivers are powered on or off.
*/
struct acp_device;