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

@ -175,7 +175,9 @@ void pa_alsa_mixer_free(pa_alsa_mixer *mixer);
typedef struct pa_hdmi_eld pa_hdmi_eld;
struct pa_hdmi_eld {
char monitor_name[17];
uint8_t speakers;
uint64_t iec958_codecs;
uint8_t lpcm_channels;
};
int pa_alsa_get_hdmi_eld(snd_hctl_elem_t *elem, pa_hdmi_eld *eld);