mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	call update_source_requested_latency callback for source outputs only when it is set to non-NULL
This commit is contained in:
		
							parent
							
								
									c22d8b9a7a
								
							
						
					
					
						commit
						398514f577
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -898,7 +898,8 @@ void pa_source_invalidate_requested_latency(pa_source *s) {
 | 
			
		|||
        s->update_requested_latency(s);
 | 
			
		||||
 | 
			
		||||
    while ((o = pa_hashmap_iterate(s->thread_info.outputs, &state, NULL)))
 | 
			
		||||
        o->update_source_requested_latency(o);
 | 
			
		||||
        if (o->update_source_requested_latency)
 | 
			
		||||
            o->update_source_requested_latency(o);
 | 
			
		||||
 | 
			
		||||
    if (s->monitor_of)
 | 
			
		||||
        pa_sink_invalidate_requested_latency(s->monitor_of);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue