summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2013-12-17 23:42:09 +0200
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-01-08 21:32:02 +0200
commita36bf31cae89594b3d56f3264b85fded763fd567 (patch)
tree0279d25e83ed1893cb661249eb638d4b9a6f6189
parent77ebb6567faec67c714c0c91ae1a3bf982197863 (diff)
stream: Improve pa_stream_connect_playback() documentation
-rw-r--r--src/pulse/stream.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pulse/stream.h b/src/pulse/stream.h
index 40cbe640..bec668fc 100644
--- a/src/pulse/stream.h
+++ b/src/pulse/stream.h
@@ -447,7 +447,11 @@ int pa_stream_is_corked(pa_stream *s);
* making sure the volume passed here has always the same semantics as
* the volume passed to pa_context_set_sink_input_volume(). It is possible
* to figure out whether flat volume mode is in effect for a given sink
- * by calling pa_context_get_sink_info_by_name(). */
+ * by calling pa_context_get_sink_info_by_name().
+ *
+ * Since 5.0, it's possible to specify a single-channel volume even if the
+ * stream has multiple channels. In that case the same volume is applied to all
+ * channels. */
int pa_stream_connect_playback(
pa_stream *s /**< The stream to connect to a sink */,
const char *dev /**< Name of the sink to connect to, or NULL for default */ ,