PipeWire  0.1.4
pw_port_implementation Struct Reference

Data Fields

uint32_t version
 
int(* set_io )(void *data, struct spa_port_io *io)
 
int(* enum_formats )(void *data, struct spa_format **format, const struct spa_format *filter, int32_t index)
 
int(* set_format )(void *data, uint32_t flags, const struct spa_format *format)
 
int(* get_format )(void *data, const struct spa_format **format)
 
int(* get_info )(void *data, const struct spa_port_info **info)
 
int(* enum_params )(void *data, uint32_t index, struct spa_param **param)
 
int(* set_param )(void *data, struct spa_param *param)
 
int(* use_buffers )(void *data, struct spa_buffer **buffers, uint32_t n_buffers)
 
int(* alloc_buffers )(void *data, struct spa_param **params, uint32_t n_params, struct spa_buffer **buffers, uint32_t *n_buffers)
 
int(* reuse_buffer )(void *data, uint32_t buffer_id)
 
int(* send_command )(void *data, struct spa_command *command)
 

Field Documentation

◆ alloc_buffers

int(* pw_port_implementation::alloc_buffers) (void *data, struct spa_param **params, uint32_t n_params, struct spa_buffer **buffers, uint32_t *n_buffers)

◆ enum_formats

int(* pw_port_implementation::enum_formats) (void *data, struct spa_format **format, const struct spa_format *filter, int32_t index)

Referenced by pw_port_enum_formats().

◆ enum_params

int(* pw_port_implementation::enum_params) (void *data, uint32_t index, struct spa_param **param)

Referenced by pw_port_enum_params().

◆ get_format

int(* pw_port_implementation::get_format) (void *data, const struct spa_format **format)

Referenced by pw_port_get_format().

◆ get_info

int(* pw_port_implementation::get_info) (void *data, const struct spa_port_info **info)

Referenced by pw_port_get_info().

◆ reuse_buffer

int(* pw_port_implementation::reuse_buffer) (void *data, uint32_t buffer_id)

◆ send_command

int(* pw_port_implementation::send_command) (void *data, struct spa_command *command)

◆ set_format

int(* pw_port_implementation::set_format) (void *data, uint32_t flags, const struct spa_format *format)

Referenced by pw_port_set_format().

◆ set_io

int(* pw_port_implementation::set_io) (void *data, struct spa_port_io *io)

Referenced by pw_port_add().

◆ set_param

int(* pw_port_implementation::set_param) (void *data, struct spa_param *param)

Referenced by pw_port_set_param().

◆ use_buffers

int(* pw_port_implementation::use_buffers) (void *data, struct spa_buffer **buffers, uint32_t n_buffers)

◆ version

uint32_t pw_port_implementation::version

The documentation for this struct was generated from the following file: