Commit 20008b48 authored by Wim Taymans's avatar Wim Taymans
Browse files

pulse-server: actually fill in the maxlenght and fragsize..

parent 5aa7746c
Pipeline #266149 passed with stages
in 1 minute and 43 seconds
......@@ -1243,6 +1243,9 @@ static int reply_create_record_stream(struct stream *stream)
snprintf(latency, sizeof(latency), "%u/%u", lat.num, lat.denom);
snprintf(attr_maxlength, sizeof(attr_maxlength), "%u", stream->attr.maxlength);
snprintf(attr_fragsize, sizeof(attr_fragsize), "%u", stream->attr.fragsize);
items[1] = SPA_DICT_ITEM_INIT("pulse.attr.maxlength", attr_maxlength);
items[2] = SPA_DICT_ITEM_INIT("pulse.attr.fragsize", attr_fragsize);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment