mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	audioconvert: set port-config flags
This commit is contained in:
		
							parent
							
								
									6566f52a7e
								
							
						
					
					
						commit
						2d8a7809f1
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -1109,7 +1109,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
	this->info = SPA_NODE_INFO_INIT();
 | 
						this->info = SPA_NODE_INFO_INIT();
 | 
				
			||||||
	this->info.max_input_ports = MAX_PORTS;
 | 
						this->info.max_input_ports = MAX_PORTS;
 | 
				
			||||||
	this->info.max_output_ports = MAX_PORTS+1;
 | 
						this->info.max_output_ports = MAX_PORTS+1;
 | 
				
			||||||
	this->info.flags = SPA_NODE_FLAG_RT;
 | 
						this->info.flags = SPA_NODE_FLAG_RT |
 | 
				
			||||||
 | 
							SPA_NODE_FLAG_IN_PORT_CONFIG;
 | 
				
			||||||
	this->params[0] = SPA_PARAM_INFO(SPA_PARAM_PortConfig, SPA_PARAM_INFO_WRITE);
 | 
						this->params[0] = SPA_PARAM_INFO(SPA_PARAM_PortConfig, SPA_PARAM_INFO_WRITE);
 | 
				
			||||||
	this->info.params = this->params;
 | 
						this->info.params = this->params;
 | 
				
			||||||
	this->info.n_params = 1;
 | 
						this->info.n_params = 1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1031,7 +1031,8 @@ impl_init(const struct spa_handle_factory *factory,
 | 
				
			||||||
	this->info = SPA_NODE_INFO_INIT();
 | 
						this->info = SPA_NODE_INFO_INIT();
 | 
				
			||||||
	this->info.max_input_ports = 1;
 | 
						this->info.max_input_ports = 1;
 | 
				
			||||||
	this->info.max_output_ports = MAX_PORTS;
 | 
						this->info.max_output_ports = MAX_PORTS;
 | 
				
			||||||
	this->info.flags = SPA_NODE_FLAG_RT;
 | 
						this->info.flags = SPA_NODE_FLAG_RT |
 | 
				
			||||||
 | 
							SPA_NODE_FLAG_OUT_PORT_CONFIG;
 | 
				
			||||||
	this->params[0] = SPA_PARAM_INFO(SPA_PARAM_PortConfig, SPA_PARAM_INFO_WRITE);
 | 
						this->params[0] = SPA_PARAM_INFO(SPA_PARAM_PortConfig, SPA_PARAM_INFO_WRITE);
 | 
				
			||||||
	this->info.params = this->params;
 | 
						this->info.params = this->params;
 | 
				
			||||||
	this->info.n_params = 1;
 | 
						this->info.n_params = 1;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue