summaryrefslogtreecommitdiffstats
path: root/src/pulse/introspect.h
diff options
context:
space:
mode:
authorArun Raghavan <arun.raghavan@collabora.co.uk>2011-03-08 23:31:59 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2011-05-02 11:55:39 +0530
commit7aa84e82089a88a542f15cbf6f38c808b4f04db1 (patch)
treea61f118cfdf6c6b9a249cc1d40dd4108d62f1ab6 /src/pulse/introspect.h
parent322980e2e3844abf837dcc8cc5317406b3d8cb94 (diff)
introspect: Get format of sink input
This gets the negotiated format of sink inputs in pa_context_get_sink_input*(). Also prints the format in 'pactl list'.
Diffstat (limited to 'src/pulse/introspect.h')
-rw-r--r--src/pulse/introspect.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulse/introspect.h b/src/pulse/introspect.h
index 49c1de63..a6b4a801 100644
--- a/src/pulse/introspect.h
+++ b/src/pulse/introspect.h
@@ -508,6 +508,7 @@ typedef struct pa_sink_input_info {
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 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_format_info *format; /**< Stream format information. \since 1.0 */
} pa_sink_input_info;
/** Callback prototype for pa_context_get_sink_input_info() and friends*/