mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	node: remove port_send_command
We don't want to do this, we use a sequence to change things at runtime.
This commit is contained in:
		
							parent
							
								
									04f1046113
								
							
						
					
					
						commit
						7a1bd163f7
					
				
					 27 changed files with 3 additions and 365 deletions
				
			
		| 
						 | 
				
			
			@ -638,14 +638,6 @@ static int impl_node_port_reuse_buffer(struct spa_node *node, uint32_t port_id,
 | 
			
		|||
	return -ENOTSUP;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
impl_node_port_send_command(struct spa_node *node,
 | 
			
		||||
			    enum spa_direction direction, uint32_t port_id, const struct spa_command *command)
 | 
			
		||||
{
 | 
			
		||||
	spa_return_val_if_fail(node != NULL, -EINVAL);
 | 
			
		||||
	return -ENOTSUP;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int impl_node_process(struct spa_node *node)
 | 
			
		||||
{
 | 
			
		||||
	struct state *this;
 | 
			
		||||
| 
						 | 
				
			
			@ -701,7 +693,6 @@ static const struct spa_node impl_node = {
 | 
			
		|||
	impl_node_port_alloc_buffers,
 | 
			
		||||
	impl_node_port_set_io,
 | 
			
		||||
	impl_node_port_reuse_buffer,
 | 
			
		||||
	impl_node_port_send_command,
 | 
			
		||||
	impl_node_process,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -649,14 +649,6 @@ static int impl_node_port_reuse_buffer(struct spa_node *node, uint32_t port_id,
 | 
			
		|||
	return 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int
 | 
			
		||||
impl_node_port_send_command(struct spa_node *node,
 | 
			
		||||
			    enum spa_direction direction, uint32_t port_id, const struct spa_command *command)
 | 
			
		||||
{
 | 
			
		||||
	spa_return_val_if_fail(node != NULL, -EINVAL);
 | 
			
		||||
	return -ENOTSUP;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static int impl_node_process(struct spa_node *node)
 | 
			
		||||
{
 | 
			
		||||
	struct state *this;
 | 
			
		||||
| 
						 | 
				
			
			@ -709,7 +701,6 @@ static const struct spa_node impl_node = {
 | 
			
		|||
	impl_node_port_alloc_buffers,
 | 
			
		||||
	impl_node_port_set_io,
 | 
			
		||||
	impl_node_port_reuse_buffer,
 | 
			
		||||
	impl_node_port_send_command,
 | 
			
		||||
	impl_node_process,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue