mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Small cleanups
This commit is contained in:
parent
574c6d4b90
commit
ce6b75cf63
7 changed files with 8 additions and 18 deletions
|
|
@ -636,12 +636,6 @@ static struct spa_buffer *find_free_buffer(struct impl *this, struct port *port)
|
|||
return b->outbuf;
|
||||
}
|
||||
|
||||
static inline void release_buffer(struct impl *this, struct spa_buffer *buffer)
|
||||
{
|
||||
if (this->callbacks && this->callbacks->reuse_buffer)
|
||||
this->callbacks->reuse_buffer(this->callbacks_data, 0, buffer->id);
|
||||
}
|
||||
|
||||
static void do_volume(struct impl *this, struct spa_buffer *dbuf, struct spa_buffer *sbuf)
|
||||
{
|
||||
uint32_t si, di, i, n_samples, n_bytes, soff, doff;
|
||||
|
|
@ -703,7 +697,6 @@ static int impl_node_process_input(struct spa_node *node)
|
|||
if (output->status == SPA_RESULT_HAVE_BUFFER)
|
||||
return SPA_RESULT_HAVE_BUFFER;
|
||||
|
||||
|
||||
in_port = &this->in_ports[0];
|
||||
input = in_port->io;
|
||||
spa_return_val_if_fail(input != NULL, SPA_RESULT_ERROR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue