mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	port: Improve scheduling status return values
This commit is contained in:
		
							parent
							
								
									725e41d715
								
							
						
					
					
						commit
						f8c2038663
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -66,7 +66,7 @@ static int tee_process(struct spa_node *data)
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	io->status = SPA_STATUS_NEED_BUFFER;
 | 
						io->status = SPA_STATUS_NEED_BUFFER;
 | 
				
			||||||
        return SPA_STATUS_HAVE_BUFFER;
 | 
					        return SPA_STATUS_HAVE_BUFFER | SPA_STATUS_NEED_BUFFER;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int tee_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id)
 | 
					static int tee_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id)
 | 
				
			||||||
| 
						 | 
					@ -102,7 +102,7 @@ static int schedule_mix_input(struct spa_node *data)
 | 
				
			||||||
		*io = *mix->io;
 | 
							*io = *mix->io;
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return io->status;
 | 
					        return SPA_STATUS_HAVE_BUFFER | SPA_STATUS_NEED_BUFFER;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int schedule_mix_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id)
 | 
					static int schedule_mix_reuse_buffer(struct spa_node *data, uint32_t port_id, uint32_t buffer_id)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue