mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pulse-server: actually fill in the maxlenght and fragsize..
This commit is contained in:
		
							parent
							
								
									5aa7746c95
								
							
						
					
					
						commit
						20008b4846
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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[0] = SPA_DICT_ITEM_INIT(PW_KEY_NODE_LATENCY, latency);
 | 
			
		||||
	items[1] = SPA_DICT_ITEM_INIT("pulse.attr.maxlength", attr_maxlength);
 | 
			
		||||
	items[2] = SPA_DICT_ITEM_INIT("pulse.attr.fragsize", attr_fragsize);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue