summaryrefslogtreecommitdiffstats
path: root/src/pulse/introspect.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-27 04:39:07 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-27 04:39:07 +0100
commitd5f46e824e3f8a042e6f67dd4c3fc385545edd74 (patch)
tree8c36ed55541b3aa5429c537498b47f29fc590222 /src/pulse/introspect.h
parent4bfa5d7d13350bd0eac439dbe251812ce437ea43 (diff)
move flat volume logic into the core. while doing so add n_volume_steps field to sinks/sources
Diffstat (limited to 'src/pulse/introspect.h')
-rw-r--r--src/pulse/introspect.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pulse/introspect.h b/src/pulse/introspect.h
index d8a28ff5..badc787e 100644
--- a/src/pulse/introspect.h
+++ b/src/pulse/introspect.h
@@ -214,6 +214,7 @@ typedef struct pa_sink_info {
pa_usec_t configured_latency; /**< The latency this device has been configured to. \since 0.9.11 */
pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the output device. \since 0.9.15 */
pa_sink_state_t state; /**< State \since 0.9.15 */
+ uint32_t n_volume_steps; /**< Number of volume steps for sinks which do not support arbitrary volumes. \since 0.9.15 */
} pa_sink_info;
/** Callback prototype for pa_context_get_sink_info_by_name() and friends */
@@ -269,8 +270,9 @@ typedef struct pa_source_info {
pa_source_flags_t flags; /**< Flags */
pa_proplist *proplist; /**< Property list \since 0.9.11 */
pa_usec_t configured_latency; /**< The latency this device has been configured to. \since 0.9.11 */
- pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the input device. \since 0.9.15 */
- pa_source_state_t state; /**< State \since 0.9.15 */
+ pa_volume_t base_volume; /**< Some kind of "base" volume that refers to unamplified/unattenuated volume in the context of the input device. \since 0.9.15 */
+ pa_source_state_t state; /**< State \since 0.9.15 */
+ uint32_t n_volume_steps; /**< Number of volume steps for sources which do not support arbitrary volumes. \since 0.9.15 */
} pa_source_info;
/** Callback prototype for pa_context_get_source_info_by_name() and friends */