mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
node: Add id to set_io
Make it possible to configure multiple io areas on a port by giving an id to set_io. Add some types to enumerate the supported ids Make an area to exchange buffers and one to specify pull ranges. The idea is to make more area types for controlable properties. Implement enumeration of IO areas in volume.
This commit is contained in:
parent
4288a634f4
commit
8efea3e1ea
40 changed files with 583 additions and 208 deletions
|
|
@ -185,7 +185,7 @@ struct pw_link {
|
|||
|
||||
struct spa_list resource_list; /**< list of bound resources */
|
||||
|
||||
struct spa_port_io io; /**< link io area */
|
||||
struct spa_io_buffers io; /**< link io area */
|
||||
|
||||
struct pw_port *output; /**< output port */
|
||||
struct spa_list output_link; /**< link in output port links */
|
||||
|
|
@ -270,7 +270,7 @@ struct pw_port {
|
|||
|
||||
enum pw_port_state state; /**< state of the port */
|
||||
|
||||
struct spa_port_io io; /**< io area of the port */
|
||||
struct spa_io_buffers io; /**< io area of the port */
|
||||
|
||||
bool allocated; /**< if buffers are allocated */
|
||||
struct pw_memblock buffer_mem; /**< allocated buffer memory */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue