mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
io: remove unused range
This commit is contained in:
parent
6cfddde39c
commit
e009fead09
10 changed files with 2 additions and 74 deletions
|
|
@ -66,7 +66,6 @@ struct port {
|
|||
uint32_t id;
|
||||
|
||||
struct spa_io_buffers *io;
|
||||
struct spa_io_range *ctrl;
|
||||
|
||||
uint64_t info_all;
|
||||
struct spa_port_info info;
|
||||
|
|
@ -845,9 +844,6 @@ impl_node_port_set_io(struct spa_node *node,
|
|||
case SPA_IO_Buffers:
|
||||
port->io = data;
|
||||
break;
|
||||
case SPA_IO_Range:
|
||||
port->ctrl = data;
|
||||
break;
|
||||
default:
|
||||
return -ENOENT;
|
||||
}
|
||||
|
|
@ -958,8 +954,6 @@ static int impl_node_process(struct spa_node *node)
|
|||
dd = &dbuf->buf->datas[0];
|
||||
|
||||
maxsize = dd->maxsize;
|
||||
if (outport->ctrl)
|
||||
maxsize = SPA_MIN(outport->ctrl->max_size, maxsize);
|
||||
n_samples = maxsize / outport->stride;
|
||||
|
||||
src_datas = alloca(sizeof(void*) * this->port_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue