mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
alsa: Remove unnecessary hctl handles being passed around
Now that we have switched to using the mixer handle only, there is no use for sending hctl handles around. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
f2120fc2b6
commit
300a5e3ed7
8 changed files with 28 additions and 74 deletions
|
|
@ -142,18 +142,15 @@ const char* pa_alsa_strerror(int errnum);
|
|||
|
||||
bool pa_alsa_may_tsched(bool 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_elem_t *pa_alsa_mixer_find(snd_mixer_t *mixer, const char *name, unsigned int device);
|
||||
|
||||
snd_mixer_t *pa_alsa_open_mixer(int alsa_card_index, char **ctl_device, snd_hctl_t **hctl);
|
||||
snd_mixer_t *pa_alsa_open_mixer(int alsa_card_index, char **ctl_device);
|
||||
|
||||
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);
|
||||
int pa_alsa_get_hdmi_eld(snd_hctl_elem_t *elem, pa_hdmi_eld *eld);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue