mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	null-sink: Set latency range at the time of initialization of module.
At the time of module initialization latency range is being set so that the null-sink would be aware of its limitations with latencies.
This commit is contained in:
		
							parent
							
								
									0f363d252c
								
							
						
					
					
						commit
						cb9ebeffa0
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -315,6 +315,8 @@ int pa__init(pa_module*m) {
 | 
			
		|||
        goto fail;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pa_sink_set_latency_range(u->sink, 0, BLOCK_USEC);
 | 
			
		||||
 | 
			
		||||
    pa_sink_put(u->sink);
 | 
			
		||||
 | 
			
		||||
    pa_modargs_free(ma);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue