[PATCH 20/30] stream: Add a comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux