mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
alsa-util: Add a function to read ELD info
Currently, this function only reads the monitor name, but could be extended to read e g supported formats as well. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
a40d83a472
commit
eaa893d7d1
2 changed files with 76 additions and 0 deletions
|
|
@ -143,7 +143,15 @@ const char* pa_alsa_strerror(int errnum);
|
|||
pa_bool_t pa_alsa_may_tsched(pa_bool_t want);
|
||||
|
||||
snd_hctl_elem_t* pa_alsa_find_jack(snd_hctl_t *hctl, const char* jack_name);
|
||||
snd_hctl_elem_t* pa_alsa_find_eld_ctl(snd_hctl_t *hctl, int device);
|
||||
|
||||
snd_mixer_t *pa_alsa_open_mixer(int alsa_card_index, char **ctl_device, snd_hctl_t **hctl);
|
||||
|
||||
typedef struct pa_hdmi_eld pa_hdmi_eld;
|
||||
struct pa_hdmi_eld {
|
||||
char monitor_name[17];
|
||||
};
|
||||
|
||||
int pa_alsa_get_hdmi_eld(snd_hctl_t *hctl, int device, pa_hdmi_eld *eld);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue