mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
core: Internally deprecate pa_port_available_t to use pa_available_t
Generalize the availability flag in order to be used beyond the scope of ports. However, pa_port_availability_t is left unchanged to avoid modifying the protocol and the client API. This should be replaced by pa_available_t after a validation phase of this new generic enum type.
This commit is contained in:
parent
3aefdd995c
commit
8851644a3c
12 changed files with 68 additions and 58 deletions
|
|
@ -165,7 +165,7 @@ struct pa_alsa_jack {
|
|||
pa_bool_t has_control; /* is the jack itself present? */
|
||||
pa_bool_t plugged_in; /* is this jack currently plugged in? */
|
||||
snd_hctl_elem_t *hctl_elem; /* Jack detection handle */
|
||||
pa_port_available_t state_unplugged, state_plugged;
|
||||
pa_available_t state_unplugged, state_plugged;
|
||||
|
||||
pa_alsa_required_t required;
|
||||
pa_alsa_required_t required_any;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue