mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioadapter: remove checks for format
This is meant to be a filter for the follower format and can thus contain wildcards.
This commit is contained in:
		
							parent
							
								
									85ffe68ea3
								
							
						
					
					
						commit
						8d6ff6137d
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -579,10 +579,6 @@ static int impl_node_set_param(void *object, uint32_t id, uint32_t flags,
 | 
			
		|||
				return -EINVAL;
 | 
			
		||||
		if (spa_format_audio_raw_parse(param, &info.info.raw) < 0)
 | 
			
		||||
			return -EINVAL;
 | 
			
		||||
		if (info.info.raw.format == 0 ||
 | 
			
		||||
		    info.info.raw.rate == 0 ||
 | 
			
		||||
		    info.info.raw.channels == 0)
 | 
			
		||||
			return -EINVAL;
 | 
			
		||||
 | 
			
		||||
		this->follower_current_format = info;
 | 
			
		||||
		break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue