PipeWire  0.3.33
build-12683127/doc/spa/monitor/utils.h File Reference

Go to the source code of this file.

Data Structures

struct  spa_result_device_params_data
 

Macros

#define spa_device_emit(hooks, method, version, ...)
 
#define spa_device_emit_info(hooks, i)   spa_device_emit(hooks,info, 0, i)
 
#define spa_device_emit_result(hooks, s, r, t, res)   spa_device_emit(hooks,result, 0, s, r, t, res)
 
#define spa_device_emit_event(hooks, e)   spa_device_emit(hooks,event, 0, e)
 
#define spa_device_emit_object_info(hooks, id, i)   spa_device_emit(hooks,object_info, 0, id, i)
 

Functions

void spa_result_func_device_params (void *data, int seq, int res, uint32_t type, const void *result)
 
int spa_device_enum_params_sync (struct spa_device *device, uint32_t id, uint32_t *index, const struct spa_pod *filter, struct spa_pod **param, struct spa_pod_builder *builder)
 

Macro Definition Documentation

◆ spa_device_emit

#define spa_device_emit (   hooks,
  method,
  version,
  ... 
)
Value:
method, version, ##__VA_ARGS__)

◆ spa_device_emit_event

#define spa_device_emit_event (   hooks,
 
)    spa_device_emit(hooks,event, 0, e)

◆ spa_device_emit_info

#define spa_device_emit_info (   hooks,
 
)    spa_device_emit(hooks,info, 0, i)

◆ spa_device_emit_object_info

#define spa_device_emit_object_info (   hooks,
  id,
 
)    spa_device_emit(hooks,object_info, 0, id, i)

◆ spa_device_emit_result

#define spa_device_emit_result (   hooks,
  s,
  r,
  t,
  res 
)    spa_device_emit(hooks,result, 0, s, r, t, res)

Function Documentation

◆ spa_device_enum_params_sync()

int spa_device_enum_params_sync ( struct spa_device device,
uint32_t  id,
uint32_t *  index,
const struct spa_pod filter,
struct spa_pod **  param,
struct spa_pod_builder builder 
)
inline

◆ spa_result_func_device_params()

spa_hook_list_call_simple
#define spa_hook_list_call_simple(l, type, method, vers,...)
Definition: hook.h:372
spa_device_events
spa_device_events:
Definition: build-12683127/doc/spa/monitor/device.h:117