PipeWire: default-routes.c File Reference

PipeWire 0.3.37

Data Structures | Macros | Functions
default-routes.c File Reference
Include dependency graph for default-routes.c:

## Data Structures
struct | impl
struct | device
struct | route_info
struct | route
struct | profile

## Macros
#define | NAME "default-routes"
#define | SESSION_KEY "default-routes"
#define | PREFIX "default.route."
#define | SAVE_INTERVAL 1
#define | ROUTE_INIT(__p)

## Functions
int | sm_default_routes_start (struct sm_media_session *session)

## Macro Definition Documentation

## ◆ NAME

#define NAME "default-routes"

## ◆ PREFIX

#define PREFIX "default.route."

## ◆ ROUTE_INIT

#define ROUTE_INIT | ( |  | __p | ) |

Value:
(struct route) { \
.p = (__p), \
.available = SPA_PARAM_AVAILABILITY_unknown, \
}
SPA_PARAM_AVAILABILITY_unknown
@ SPA_PARAM_AVAILABILITY_unknown
unknown availability
Definition: param.h:105
route
Definition: default-routes.c:171
route::available
enum spa_param_availability available
Definition: default-routes.c:178

## ◆ SAVE_INTERVAL

#define SAVE_INTERVAL 1

## ◆ SESSION_KEY

#define SESSION_KEY "default-routes"

## Function Documentation

## ◆ sm_default_routes_start()

int sm_default_routes_start | ( | struct sm_media_session * | session | ) |

References impl::context, impl::listener, pw_log_info, pw_properties_new(), impl::session, SESSION_KEY, sm_media_session_add_listener(), sm_media_session_load_state(), spa_strerror, and impl::to_restore.