mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	Add control properties to audiotestsrc
Add control properties to audiotestsrc for frequency and volume and add a test program. Add size parameter to set_io for additional checks and to make it easy to know how much control data we can write.
This commit is contained in:
		
							parent
							
								
									8efea3e1ea
								
							
						
					
					
						commit
						a092b9312a
					
				
					 28 changed files with 774 additions and 64 deletions
				
			
		| 
						 | 
				
			
			@ -514,7 +514,7 @@ spa_proxy_node_port_set_io(struct spa_node *node,
 | 
			
		|||
			   enum spa_direction direction,
 | 
			
		||||
			   uint32_t port_id,
 | 
			
		||||
			   uint32_t id,
 | 
			
		||||
			   void *io)
 | 
			
		||||
			   void *data, size_t size)
 | 
			
		||||
{
 | 
			
		||||
	struct proxy *this;
 | 
			
		||||
	struct proxy_port *port;
 | 
			
		||||
| 
						 | 
				
			
			@ -532,7 +532,7 @@ spa_proxy_node_port_set_io(struct spa_node *node,
 | 
			
		|||
	port = GET_PORT(this, direction, port_id);
 | 
			
		||||
 | 
			
		||||
	if (id == t->io.Buffers)
 | 
			
		||||
		port->io = io;
 | 
			
		||||
		port->io = data;
 | 
			
		||||
	else
 | 
			
		||||
		return -ENOENT;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue