diff options
author | Tanu Kaskinen <tanuk@iki.fi> | 2011-03-27 23:00:26 +0300 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-03-29 21:18:06 +0100 |
commit | e72e75570c97ee9dd1cbce6480d7de8637d470fe (patch) | |
tree | b5672949bd2e92df2b7559855f19642d1eb44aa8 /src/pulse/introspect.h | |
parent | b358f1c71d633adcbef02b583120d9ab1a8ac69e (diff) |
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.
Diffstat (limited to 'src/pulse/introspect.h')
-rw-r--r-- | src/pulse/introspect.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/introspect.h b/src/pulse/introspect.h index 1cadee52..297b4bac 100644 --- a/src/pulse/introspect.h +++ b/src/pulse/introspect.h @@ -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*/ |