mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
Implement control streams
spa_io_control_range -> spa_io_range Add helpers for sequence and control pod objects Implement control properties in audiotestsrc, update test example.
This commit is contained in:
parent
90c1a95eef
commit
c9526dc2bb
21 changed files with 289 additions and 272 deletions
|
|
@ -51,7 +51,7 @@ struct port {
|
|||
uint32_t id;
|
||||
|
||||
struct spa_io_buffers *io;
|
||||
struct spa_io_control_range *ctrl;
|
||||
struct spa_io_range *ctrl;
|
||||
|
||||
struct spa_port_info info;
|
||||
|
||||
|
|
@ -787,7 +787,7 @@ impl_node_port_set_io(struct spa_node *node,
|
|||
case SPA_IO_Buffers:
|
||||
port->io = data;
|
||||
break;
|
||||
case SPA_IO_ControlRange:
|
||||
case SPA_IO_Range:
|
||||
port->ctrl = data;
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue