mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	module-loopback: Prevent an infinite loop when rate adjusting is disabled
This commit is contained in:
		
							parent
							
								
									205cad6eed
								
							
						
					
					
						commit
						3e6af07496
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -493,7 +493,8 @@ static int sink_input_process_msg_cb(pa_msgobject *obj, int code, void *data, in
 | 
			
		|||
 | 
			
		||||
            pa_assert_ctl_context();
 | 
			
		||||
 | 
			
		||||
            adjust_rates(u);
 | 
			
		||||
            if (u->adjust_time > 0)
 | 
			
		||||
                adjust_rates(u);
 | 
			
		||||
            return 0;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue