mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
ucm: Add support for "JackHWMute"
JackHWMute is used to list devices that get forcibly muted by a particular jack. We mark ports unavailable based on that information.
This commit is contained in:
parent
d2bed5332a
commit
38e81f4c3d
4 changed files with 134 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ typedef void snd_use_case_mgr_t;
|
|||
/* Corresponds to the "JackControl" UCM value. */
|
||||
#define PA_ALSA_PROP_UCM_JACK_CONTROL "alsa.ucm.jack_control"
|
||||
|
||||
/* Corresponds to the "JackHWMute" UCM value. */
|
||||
#define PA_ALSA_PROP_UCM_JACK_HW_MUTE "alsa.ucm.jack_hw_mute"
|
||||
|
||||
typedef struct pa_alsa_ucm_verb pa_alsa_ucm_verb;
|
||||
typedef struct pa_alsa_ucm_modifier pa_alsa_ucm_modifier;
|
||||
typedef struct pa_alsa_ucm_device pa_alsa_ucm_device;
|
||||
|
|
@ -148,6 +151,7 @@ struct pa_alsa_ucm_device {
|
|||
pa_dynarray *ucm_ports; /* struct ucm_port */
|
||||
|
||||
pa_alsa_jack *jack;
|
||||
pa_dynarray *hw_mute_jacks; /* pa_alsa_jack */
|
||||
pa_available_t available;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue