mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	client-node: ignore io on the node itself
We only handle the io on the mixer ports, the internal io from the port to the node is done on the client side.
This commit is contained in:
		
							parent
							
								
									61ad5ee518
								
							
						
					
					
						commit
						d3d7b7e39f
					
				
					 1 changed files with 4 additions and 7 deletions
				
			
		| 
						 | 
					@ -792,13 +792,10 @@ impl_node_port_set_io(struct spa_node *node,
 | 
				
			||||||
		      uint32_t id,
 | 
							      uint32_t id,
 | 
				
			||||||
		      void *data, size_t size)
 | 
							      void *data, size_t size)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct node *this;
 | 
						/* ignore io on the node itself, weonly care about the io on the
 | 
				
			||||||
	struct impl *impl;
 | 
						 * port mixers, the io on the node ports itself is handled on the
 | 
				
			||||||
 | 
						 * client side */
 | 
				
			||||||
	this = SPA_CONTAINER_OF(node, struct node, node);
 | 
						return 0;
 | 
				
			||||||
	impl = this->impl;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	return do_port_set_io(impl, direction, port_id, SPA_ID_INVALID, id, data, size);
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int
 | 
					static int
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue