mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sink-input: Add volume_writable to pa_sink_input.
This is pretty cosmetic change; there's no actual functionality added. Previously the volume_writable information was available through the pa_sink_input_is_volume_writable() function, but I find it cleaner to have a real variable. The sink input introspection variable name was also changed from read_only_volume to volume_writable for consistency.
This commit is contained in:
parent
b358f1c71d
commit
e72e75570c
9 changed files with 27 additions and 47 deletions
|
|
@ -504,7 +504,7 @@ typedef struct pa_sink_input_info {
|
|||
pa_proplist *proplist; /**< Property list \since 0.9.11 */
|
||||
int corked; /**< Stream corked \since 1.0 */
|
||||
int has_volume; /**< Stream has volume. If not set, then the meaning of this struct's volume member is unspecified. \since 1.0 */
|
||||
int read_only_volume; /**< Stream volume can only be read. Although volume control is disabled, the stream volume is still not necessarily constant. \since 1.0 */
|
||||
int volume_writable; /**< The volume can be set. If not set, the volume can still change even though clients can't control the volume. \since 1.0 */
|
||||
} pa_sink_input_info;
|
||||
|
||||
/** Callback prototype for pa_context_get_sink_input_info() and friends*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue