mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	acp: update Route and Profile param on availability change
This commit is contained in:
		
							parent
							
								
									6e339200af
								
							
						
					
					
						commit
						4a35fcaf09
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -666,6 +666,7 @@ static void card_profile_available(void *data, uint32_t index,
 | 
			
		|||
 | 
			
		||||
	this->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
 | 
			
		||||
	this->params[IDX_EnumProfile].flags ^= SPA_PARAM_INFO_SERIAL;
 | 
			
		||||
	this->params[IDX_Profile].flags ^= SPA_PARAM_INFO_SERIAL;
 | 
			
		||||
	emit_info(this, false);
 | 
			
		||||
 | 
			
		||||
	if (this->props.auto_profile) {
 | 
			
		||||
| 
						 | 
				
			
			@ -703,6 +704,7 @@ static void card_port_available(void *data, uint32_t index,
 | 
			
		|||
 | 
			
		||||
	this->info.change_mask |= SPA_DEVICE_CHANGE_MASK_PARAMS;
 | 
			
		||||
	this->params[IDX_EnumRoute].flags ^= SPA_PARAM_INFO_SERIAL;
 | 
			
		||||
	this->params[IDX_Route].flags ^= SPA_PARAM_INFO_SERIAL;
 | 
			
		||||
	emit_info(this, false);
 | 
			
		||||
 | 
			
		||||
	if (this->props.auto_port) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue