mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
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:
parent
d268b6e104
commit
91e2f184e2
4 changed files with 90 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue