mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	channelmix: fix lfe-cutoff parsing
This commit is contained in:
		
							parent
							
								
									bf52630153
								
							
						
					
					
						commit
						1cf869cea8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -592,7 +592,7 @@ static int channelmix_set_param(struct impl *this, const char *k, const char *s)
 | 
				
			||||||
	else if (spa_streq(k, "channelmix.upmix"))
 | 
						else if (spa_streq(k, "channelmix.upmix"))
 | 
				
			||||||
		SPA_FLAG_UPDATE(this->mix.options, CHANNELMIX_OPTION_UPMIX, spa_atob(s));
 | 
							SPA_FLAG_UPDATE(this->mix.options, CHANNELMIX_OPTION_UPMIX, spa_atob(s));
 | 
				
			||||||
	else if (spa_streq(k, "channelmix.lfe-cutoff"))
 | 
						else if (spa_streq(k, "channelmix.lfe-cutoff"))
 | 
				
			||||||
		this->mix.lfe_cutoff = atoi(s);
 | 
							spa_atof(s, &this->mix.lfe_cutoff);
 | 
				
			||||||
	else if (spa_streq(k, "channelmix.disable"))
 | 
						else if (spa_streq(k, "channelmix.disable"))
 | 
				
			||||||
		this->props.disabled = spa_atob(s);
 | 
							this->props.disabled = spa_atob(s);
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue