summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/protocol-native.c
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2011-05-16 22:23:24 +0100
committerColin Guthrie <colin@mageia.org>2011-06-22 22:45:27 +0100
commit4ab60d03778bf1e680d29c6ff37266978df44aa5 (patch)
tree3a68fcaf3e29bc798e5947d7d65b961975c0e373 /src/pulsecore/protocol-native.c
parentdffc4d18d3a9f608f8b316f1e7057d13978ef44f (diff)
introspect: Get format of source output
This gets the negotiated format of source outputs in pa_context_get_source_output*(). Also prints the format and volume in 'pactl list'.
Diffstat (limited to 'src/pulsecore/protocol-native.c')
-rw-r--r--src/pulsecore/protocol-native.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c
index d90b470a..6c7c8979 100644
--- a/src/pulsecore/protocol-native.c
+++ b/src/pulsecore/protocol-native.c
@@ -3317,6 +3317,7 @@ static void source_output_fill_tagstruct(pa_native_connection *c, pa_tagstruct *
pa_tagstruct_put_boolean(t, pa_source_output_get_mute(s));
pa_tagstruct_put_boolean(t, has_volume);
pa_tagstruct_put_boolean(t, s->volume_writable);
+ pa_tagstruct_put_format_info(t, s->format);
}
}