mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: make simple upmix the default
PSD seems to not always give good results. fixes #2219
This commit is contained in:
		
							parent
							
								
									36185b830a
								
							
						
					
					
						commit
						cf1d4b9140
					
				
					 5 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
					@ -1655,7 +1655,7 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
	props_reset(&this->props);
 | 
						props_reset(&this->props);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this->mix.options = CHANNELMIX_OPTION_UPMIX;
 | 
						this->mix.options = CHANNELMIX_OPTION_UPMIX;
 | 
				
			||||||
	this->mix.upmix = CHANNELMIX_UPMIX_PSD;
 | 
						this->mix.upmix = CHANNELMIX_UPMIX_SIMPLE;
 | 
				
			||||||
	this->mix.log = this->log;
 | 
						this->mix.log = this->log;
 | 
				
			||||||
	this->mix.lfe_cutoff = 120.0f;
 | 
						this->mix.lfe_cutoff = 120.0f;
 | 
				
			||||||
	this->mix.fc_cutoff = 6000.0f;
 | 
						this->mix.fc_cutoff = 6000.0f;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,7 +84,7 @@ stream.properties = {
 | 
				
			||||||
    #channelmix.normalize  = false
 | 
					    #channelmix.normalize  = false
 | 
				
			||||||
    #channelmix.mix-lfe    = true
 | 
					    #channelmix.mix-lfe    = true
 | 
				
			||||||
    #channelmix.upmix      = true
 | 
					    #channelmix.upmix      = true
 | 
				
			||||||
    #channelmix.upmix-method = psd  # none, simple
 | 
					    #channelmix.upmix-method = simple  # none, psd
 | 
				
			||||||
    #channelmix.lfe-cutoff = 120
 | 
					    #channelmix.lfe-cutoff = 120
 | 
				
			||||||
    #channelmix.fc-cutoff  = 6000
 | 
					    #channelmix.fc-cutoff  = 6000
 | 
				
			||||||
    #channelmix.rear-delay = 12.0
 | 
					    #channelmix.rear-delay = 12.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ stream.properties = {
 | 
				
			||||||
    #channelmix.normalize  = false
 | 
					    #channelmix.normalize  = false
 | 
				
			||||||
    #channelmix.mix-lfe    = false
 | 
					    #channelmix.mix-lfe    = false
 | 
				
			||||||
    #channelmix.upmix      = true
 | 
					    #channelmix.upmix      = true
 | 
				
			||||||
    #channelmix.upmix-method = psd  # none, simple
 | 
					    #channelmix.upmix-method = simple  # none, psd
 | 
				
			||||||
    #channelmix.lfe-cutoff = 120
 | 
					    #channelmix.lfe-cutoff = 120
 | 
				
			||||||
    #channelmix.fc-cutoff  = 6000
 | 
					    #channelmix.fc-cutoff  = 6000
 | 
				
			||||||
    #channelmix.rear-delay = 12.0
 | 
					    #channelmix.rear-delay = 12.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -205,7 +205,7 @@ context.objects = [
 | 
				
			||||||
            #channelmix.normalize   = false
 | 
					            #channelmix.normalize   = false
 | 
				
			||||||
            #channelmix.mix-lfe     = false
 | 
					            #channelmix.mix-lfe     = false
 | 
				
			||||||
            #channelmix.upmix       = true
 | 
					            #channelmix.upmix       = true
 | 
				
			||||||
            #channelmix.upmix-method = psd  # none, simple
 | 
					            #channelmix.upmix-method = simple  # none, psd
 | 
				
			||||||
            #channelmix.lfe-cutoff  = 120
 | 
					            #channelmix.lfe-cutoff  = 120
 | 
				
			||||||
            #channelmix.fc-cutoff   = 6000
 | 
					            #channelmix.fc-cutoff   = 6000
 | 
				
			||||||
            #channelmix.rear-delay  = 12.0
 | 
					            #channelmix.rear-delay  = 12.0
 | 
				
			||||||
| 
						 | 
					@ -265,7 +265,7 @@ context.objects = [
 | 
				
			||||||
            #channelmix.normalize  = false
 | 
					            #channelmix.normalize  = false
 | 
				
			||||||
            #channelmix.mix-lfe    = false
 | 
					            #channelmix.mix-lfe    = false
 | 
				
			||||||
            #channelmix.upmix      = true
 | 
					            #channelmix.upmix      = true
 | 
				
			||||||
            #channelmix.upmix-method = psd  # none, simple
 | 
					            #channelmix.upmix-method = simple  # none, psd
 | 
				
			||||||
            #channelmix.lfe-cutoff = 120
 | 
					            #channelmix.lfe-cutoff = 120
 | 
				
			||||||
            #channelmix.fc-cutoff  = 6000
 | 
					            #channelmix.fc-cutoff  = 6000
 | 
				
			||||||
            #channelmix.rear-delay = 12.0
 | 
					            #channelmix.rear-delay = 12.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,7 +60,7 @@ stream.properties = {
 | 
				
			||||||
    #channelmix.normalize  = false
 | 
					    #channelmix.normalize  = false
 | 
				
			||||||
    #channelmix.mix-lfe    = false
 | 
					    #channelmix.mix-lfe    = false
 | 
				
			||||||
    #channelmix.upmix      = true
 | 
					    #channelmix.upmix      = true
 | 
				
			||||||
    #channelmix.upmix-method = psd  # none, simple
 | 
					    #channelmix.upmix-method = simple  # none, psd
 | 
				
			||||||
    #channelmix.lfe-cutoff = 120
 | 
					    #channelmix.lfe-cutoff = 120
 | 
				
			||||||
    #channelmix.fc-cutoff  = 6000
 | 
					    #channelmix.fc-cutoff  = 6000
 | 
				
			||||||
    #channelmix.rear-delay = 12.0
 | 
					    #channelmix.rear-delay = 12.0
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue