[pulseaudio-discuss] [PATCH 20/30] stream: Add a comment

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Thu Jan 16 07:02:46 PST 2014


It wasn't completely obvious what was being put to the tagstruct, so
I decided to add a comment to make it completely obvious.
---
 src/pulse/stream.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 746179b..5c30866 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -1273,7 +1273,7 @@ static int create_stream(
             t,
             PA_TAG_SAMPLE_SPEC, &s->sample_spec,
             PA_TAG_CHANNEL_MAP, &s->channel_map,
-            PA_TAG_U32, PA_INVALID_INDEX,
+            PA_TAG_U32, PA_INVALID_INDEX, /* device index */
             PA_TAG_STRING, dev,
             PA_TAG_U32, s->buffer_attr.maxlength,
             PA_TAG_BOOLEAN, s->corked,
-- 
1.8.3.1



More information about the pulseaudio-discuss mailing list