mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
introspect: Expose card profile available flag
Available flag can be used by clients to disable the selection of profiles unavailable. Update protocol to 29
This commit is contained in:
parent
b76b9c32d9
commit
b98a2e158f
5 changed files with 37 additions and 16 deletions
|
|
@ -452,6 +452,12 @@ typedef struct pa_card_profile_info {
|
|||
uint32_t n_sinks; /**< Number of sinks this profile would create */
|
||||
uint32_t n_sources; /**< Number of sources this profile would create */
|
||||
uint32_t priority; /**< The higher this value is, the more useful this profile is as a default. */
|
||||
int available;
|
||||
/**< Is this profile available? If this is zero, meaning "unavailable",
|
||||
* then it makes no sense to try to activate this profile. If this is
|
||||
* non-zero, it's still not a guarantee that activating the profile will
|
||||
* result in anything useful, it just means that the server isn't aware of
|
||||
* any reason why the profile would definitely be useless. \since 5.0 */
|
||||
} pa_card_profile_info;
|
||||
|
||||
/** Stores information about a specific port of a card. Please
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue