mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-01-01 11:08:43 -05:00
alloc-params: use dynamic types for alloc-params
This commit is contained in:
parent
7270986c3a
commit
048a4b81a8
21 changed files with 166 additions and 271 deletions
|
|
@ -27,7 +27,7 @@ extern "C" {
|
|||
#include <spa/defs.h>
|
||||
#include <spa/props.h>
|
||||
#include <spa/format.h>
|
||||
#include <spa/port.h>
|
||||
#include <spa/alloc-param.h>
|
||||
#include <spa/node.h>
|
||||
|
||||
typedef struct _PinosClientNodeBuffer PinosClientNodeBuffer;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ typedef struct _PinosTransportArea PinosTransportArea;
|
|||
#include <string.h>
|
||||
|
||||
#include <spa/defs.h>
|
||||
#include <spa/port.h>
|
||||
#include <spa/node.h>
|
||||
|
||||
#include <pinos/client/mem.h>
|
||||
|
|
|
|||
|
|
@ -52,4 +52,7 @@ pinos_uri_init (PinosURI *uri)
|
|||
spa_node_events_map (uri->map, &uri->node_events);
|
||||
spa_node_commands_map (uri->map, &uri->node_commands);
|
||||
spa_monitor_types_map (uri->map, &uri->monitor_types);
|
||||
spa_alloc_param_buffers_map (uri->map, &uri->alloc_param_buffers);
|
||||
spa_alloc_param_meta_enable_map (uri->map, &uri->alloc_param_meta_enable);
|
||||
spa_alloc_param_video_padding_map (uri->map, &uri->alloc_param_video_padding);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,6 +58,9 @@ struct _PinosURI {
|
|||
SpaNodeEvents node_events;
|
||||
SpaNodeCommands node_commands;
|
||||
SpaMonitorTypes monitor_types;
|
||||
SpaAllocParamBuffers alloc_param_buffers;
|
||||
SpaAllocParamMetaEnable alloc_param_meta_enable;
|
||||
SpaAllocParamVideoPadding alloc_param_video_padding;
|
||||
};
|
||||
|
||||
void pinos_uri_init (PinosURI *uri);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue