mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	alsa: always reevaluate matching when driver changed
Always reevaluate the rate matching even when we did not change the follower state. It is possible that we were a follower from some node with the same clock and now become a follower of a node with a different clock. The follower state doesn't change but we need to activate the rate matching logic in that case. Fixes rate matching in pro audio (playback) when capture and playback are moved to another driver.
This commit is contained in:
		
							parent
							
								
									9996dfb791
								
							
						
					
					
						commit
						b147753554
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -3476,8 +3476,8 @@ int spa_alsa_reassign_follower(struct state *state)
 | 
			
		|||
	if (following != state->following) {
 | 
			
		||||
		spa_log_debug(state->log, "%p: reassign follower %d->%d", state, state->following, following);
 | 
			
		||||
		state->following = following;
 | 
			
		||||
		setup_matching(state);
 | 
			
		||||
	}
 | 
			
		||||
	setup_matching(state);
 | 
			
		||||
	if (state->started)
 | 
			
		||||
		spa_loop_invoke(state->data_loop, do_state_sync, 0, NULL, 0, true, state);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue