Go to the documentation of this file.
25 #ifndef SPA_UTILS_ANSI_H
26 #define SPA_UTILS_ANSI_H
45 #define SPA_ANSI_RESET "\x1B[0m"
46 #define SPA_ANSI_BOLD "\x1B[1m"
47 #define SPA_ANSI_ITALIC "\x1B[3m"
48 #define SPA_ANSI_UNDERLINE "\x1B[4m"
50 #define SPA_ANSI_BLACK "\x1B[0;30m"
51 #define SPA_ANSI_RED "\x1B[0;31m"
52 #define SPA_ANSI_GREEN "\x1B[0;32m"
53 #define SPA_ANSI_YELLOW "\x1B[0;33m"
54 #define SPA_ANSI_BLUE "\x1B[0;34m"
55 #define SPA_ANSI_MAGENTA "\x1B[0;35m"
56 #define SPA_ANSI_CYAN "\x1B[0;36m"
57 #define SPA_ANSI_WHITE "\x1B[0;37m"
58 #define SPA_ANSI_BRIGHT_BLACK "\x1B[90m"
59 #define SPA_ANSI_BRIGHT_RED "\x1B[91m"
60 #define SPA_ANSI_BRIGHT_GREEN "\x1B[92m"
61 #define SPA_ANSI_BRIGHT_YELLOW "\x1B[93m"
62 #define SPA_ANSI_BRIGHT_BLUE "\x1B[94m"
63 #define SPA_ANSI_BRIGHT_MAGENTA "\x1B[95m"
64 #define SPA_ANSI_BRIGHT_CYAN "\x1B[96m"
65 #define SPA_ANSI_BRIGHT_WHITE "\x1B[97m"
68 #define SPA_ANSI_BOLD_BLACK "\x1B[1;30m"
69 #define SPA_ANSI_BOLD_RED "\x1B[1;31m"
70 #define SPA_ANSI_BOLD_GREEN "\x1B[1;32m"
71 #define SPA_ANSI_BOLD_YELLOW "\x1B[1;33m"
72 #define SPA_ANSI_BOLD_BLUE "\x1B[1;34m"
73 #define SPA_ANSI_BOLD_MAGENTA "\x1B[1;35m"
74 #define SPA_ANSI_BOLD_CYAN "\x1B[1;36m"
75 #define SPA_ANSI_BOLD_WHITE "\x1B[1;37m"
77 #define SPA_ANSI_DARK_BLACK "\x1B[2;30m"
78 #define SPA_ANSI_DARK_RED "\x1B[2;31m"
79 #define SPA_ANSI_DARK_GREEN "\x1B[2;32m"
80 #define SPA_ANSI_DARK_YELLOW "\x1B[2;33m"
81 #define SPA_ANSI_DARK_BLUE "\x1B[2;34m"
82 #define SPA_ANSI_DARK_MAGENTA "\x1B[2;35m"
83 #define SPA_ANSI_DARK_CYAN "\x1B[2;36m"
84 #define SPA_ANSI_DARK_WHITE "\x1B[2;37m"
87 #define SPA_ANSI_BG_BLACK "\x1B[0;40m"
88 #define SPA_ANSI_BG_RED "\x1B[0;41m"
89 #define SPA_ANSI_BG_GREEN "\x1B[0;42m"
90 #define SPA_ANSI_BG_YELLOW "\x1B[0;43m"
91 #define SPA_ANSI_BG_BLUE "\x1B[0;44m"
92 #define SPA_ANSI_BG_MAGENTA "\x1B[0;45m"
93 #define SPA_ANSI_BG_CYAN "\x1B[0;46m"
94 #define SPA_ANSI_BG_WHITE "\x1B[0;47m"
95 #define SPA_ANSI_BG_BRIGHT_BLACK "\x1B[100m"
96 #define SPA_ANSI_BG_BRIGHT_RED "\x1B[101m"
97 #define SPA_ANSI_BG_BRIGHT_GREEN "\x1B[102m"
98 #define SPA_ANSI_BG_BRIGHT_YELLOW "\x1B[103m"
99 #define SPA_ANSI_BG_BRIGHT_BLUE "\x1B[104m"
100 #define SPA_ANSI_BG_BRIGHT_MAGENTA "\x1B[105m"
101 #define SPA_ANSI_BG_BRIGHT_CYAN "\x1B[106m"
102 #define SPA_ANSI_BG_BRIGHT_WHITE "\x1B[107m"
#define SPA_KEY_API_ALSA_CARD_NAME
name from card_info
Definition: build-12775836/doc/spa/utils/keys.h:70
int sm_alsa_midi_start(struct sm_media_session *session)
Definition: alsa-midi.c:172
#define PW_KEY_DEVICE_NAME
device name
Definition: src/pipewire/keys.h:211
#define PW_DIRECTION_INPUT
Definition: port.h:57
#define PW_KEY_DEVICE_BUS
bus of the device if applicable.
Definition: src/pipewire/keys.h:234
int int const char * pw_properties_get(const struct pw_properties *properties, const char *key)
Get a property.
Definition: properties.c:487
#define DEFAULT_NAME
Definition: alsa-midi.c:49
Definition: module-filter-chain.c:176
Definition: pod/pod.h:175
uint32_t rate
Definition: audio/raw.h:288
@ SPA_PARAM_Profile
profile configuration as SPA_TYPE_OBJECT_ParamProfile
Definition: param.h:53
struct spa_hook listener
Definition: alsa-monitor.c:105
struct pw_properties * props
Definition: alsa-monitor.c:74
#define SPA_NAME_API_JACK_DEVICE
keys for jack factory names
Definition: names.h:132
struct spa_list device_list
Definition: alsa-monitor.c:128
struct spa_audio_info format
Definition: alsa-endpoint.c:86
#define PW_VERSION_NODE
Definition: src/pipewire/node.h:52
struct spa_source * notify
Definition: alsa-midi.c:58
struct impl * impl
Definition: alsa-endpoint.c:67
#define SPA_POD_Pod(val)
Definition: vararg.h:100
#define PW_TYPE_INTERFACE_Device
Definition: src/pipewire/device.h:37
int priority
Definition: alsa-monitor.c:93
#define PW_KEY_DEVICE_CLASS
device class
Definition: src/pipewire/keys.h:228
#define SPA_POD_Int(val)
Definition: vararg.h:59
struct spa_source * jack_timeout
Definition: alsa-monitor.c:130
int pw_properties_update(struct pw_properties *props, const struct spa_dict *dict)
Update properties.
Definition: properties.c:298
#define pw_loop_update_timer(l,...)
Definition: src/pipewire/loop.h:78
#define SPA_TYPE_INTERFACE_Device
Definition: build-12775836/doc/spa/monitor/device.h:50
struct spa_list link
Definition: alsa-endpoint.c:92
struct spa_param_info params[5]
Definition: alsa-endpoint.c:79
enum pw_direction direction
Definition: alsa-monitor.c:69
@ SPA_PARAM_PORT_CONFIG_format
(Object) format filter
Definition: param.h:151
Definition: build-12775836/doc/spa/monitor/device.h:53
struct endpoint * monitor
Definition: alsa-endpoint.c:81
#define SPA_KEY_API_ALSA_PCM_NAME
name from pcm_info
Definition: build-12775836/doc/spa/utils/keys.h:77
@ SPA_TYPE_EVENT_Device
Definition: build-12775836/doc/spa/utils/type.h:76
struct spa_dict * props
extra node properties
Definition: build-12775836/doc/spa/node/node.h:82
struct spa_list link
link in impl node_list
Definition: module-filter-chain.c:156
user data to add to an object
Definition: filter.c:75
#define SPA_KEY_DEVICE_DESCRIPTION
a device description
Definition: build-12775836/doc/spa/monitor/device.h:265
uint8_t data[MAX_BUFFER]
Definition: module-profiler.c:87
bool spa_streq(const char *s1, const char *s2)
Definition: string.h:50
#define spa_list_for_each(pos, head, member)
Definition: list.h:111
const struct spa_dict * props
extra object properties
Definition: build-12775836/doc/spa/monitor/device.h:92
void * pw_proxy_get_user_data(struct pw_proxy *proxy)
Get the user_data.
Definition: proxy.c:146
unsigned int reserve
Definition: alsa-monitor.c:132
#define SPA_DEVICE_OBJECT_CHANGE_MASK_PROPS
Definition: build-12775836/doc/spa/monitor/device.h:89
const struct spa_dict * props
device properties
Definition: build-12775836/doc/spa/monitor/device.h:69
struct impl * impl
Definition: alsa-monitor.c:83
struct sm_node * obj
Definition: bluez-autoswitch.c:79
struct pw_endpoint_info info
Definition: alsa-endpoint.c:77
Definition: src/pipewire/loop.h:47
#define pw_device_set_param(c,...)
Definition: src/pipewire/device.h:156
struct spa_pod * spa_format_audio_raw_build(struct spa_pod_builder *builder, uint32_t id, struct spa_audio_info_raw *info)
Definition: audio/format-utils.h:72
#define PW_VERSION_DEVICE
Definition: src/pipewire/device.h:39
struct spa_hook listener
Definition: access-flatpak.c:46
Definition: alsa-monitor.c:82
Definition: module-filter-chain.c:155
#define SND_PATH
Definition: alsa-midi.c:42
#define PW_KEY_DEVICE_PRODUCT_NAME
product name if applicable
Definition: src/pipewire/keys.h:227
struct spa_audio_info_raw raw
Definition: param/audio/format.h:44
#define NAME
Definition: alsa-endpoint.c:61
void pw_proxy_destroy(struct pw_proxy *proxy)
destroy a proxy
Definition: proxy.c:229
char * factory_name
Definition: alsa-monitor.c:88
#define SPA_NAME_API_ALSA_ENUM_UDEV
keys for alsa factory names
Definition: names.h:96
struct pw_properties * props
Definition: module-example-sink.c:81
@ SPA_PARAM_PORT_CONFIG_direction
direction, input/output (Id enum spa_direction)
Definition: param.h:147
#define pw_node_subscribe_params(c,...)
Definition: src/pipewire/node.h:199
#define SPA_PARAM_INFO_READ
Definition: param.h:68
int spa_pod_object_fixate(struct spa_pod_object *pod)
Definition: iter.h:431
Proxy events, use pw_proxy_add_listener.
Definition: proxy.h:111
@ SPA_EVENT_DEVICE_Object
Definition: monitor/event.h:46
int profile
Definition: alsa-monitor.c:95
@ SPA_MEDIA_TYPE_audio
Definition: param/format.h:42
int sm_media_session_match_rules(const char *rules, size_t size, struct pw_properties *props)
Definition: match-rules.c:91
#define PW_KEY_AUDIO_CHANNELS
number of audio channels
Definition: src/pipewire/keys.h:307
#define SPA_PTROFF(ptr_, offset_, type_)
Return the address (buffer + offset) as pointer of type.
Definition: defs.h:159
#define SPA_KEY_MEDIA_CLASS
Media class Ex.
Definition: build-12775836/doc/spa/utils/keys.h:44
struct spa_hook session_listener
Definition: alsa-monitor.c:118
#define SPA_KEY_API_ALSA_CARD
alsa card number
Definition: build-12775836/doc/spa/utils/keys.h:60
Definition: pipewire.c:68
bool spa_strstartswith(const char *s, const char *prefix)
Definition: string.h:71
uint32_t id
Definition: module-echo-cancel.c:139
struct pw_properties * pw_properties_new_dict(const struct spa_dict *dict)
Make a new properties object from the given dictionary.
Definition: properties.c:126
#define SND_SEQ_PATH
Definition: alsa-midi.c:44
#define SPA_POD_BUILDER_INIT(buffer, size)
Definition: builder.h:71
#define PW_KEY_DEVICE_FORM_FACTOR
form factor if applicable.
Definition: src/pipewire/keys.h:229
struct spa_audio_info_raw info
Definition: module-echo-cancel.c:145
@ SPA_PARAM_Props
properties as SPA_TYPE_OBJECT_Props
Definition: param.h:46
Definition: build-12775836/doc/spa/support/loop.h:58
@ SPA_PARAM_PORT_CONFIG_MODE_dsp
dsp configuration, depending on the external format.
Definition: param.h:139
uint32_t channels
Definition: audio/raw.h:289
struct spa_dict dict
dictionary of key/values
Definition: properties.h:50
#define pw_loop_destroy_source(l,...)
Definition: src/pipewire/loop.h:80
struct spa_hook sync_listener
Definition: alsa-monitor.c:91
#define SPA_KEY_API_ALSA_PCM_SUBDEVICE
subdevice from pcm_info
Definition: build-12775836/doc/spa/utils/keys.h:82
unsigned int use_ucm
Definition: alsa-endpoint.c:83
#define SPA_PARAM_INFO(id, flags)
Definition: param.h:77
@ SPA_PARAM_Format
configured format as SPA_TYPE_OBJECT_Format
Definition: param.h:48
#define spa_list_consume(pos, head, member)
Definition: list.h:96
struct spa_audio_info format
Definition: alsa-endpoint.c:98
#define SPA_TYPE_INTERFACE_Node
Definition: build-12775836/doc/spa/node/node.h:50
unsigned int use_acp
Definition: alsa-monitor.c:112
struct pw_properties * props
Definition: alsa-endpoint.c:69
struct impl * impl
Definition: alsa-monitor.c:68
#define PW_KEY_LINK_INPUT_NODE
input node id of a link
Definition: src/pipewire/keys.h:198
#define PW_VERSION_PROXY_EVENTS
Definition: proxy.h:112
@ SPA_DEVICE_EVENT_ObjectConfig
Definition: monitor/event.h:36
#define PW_KEY_NODE_NICK
short node name
Definition: src/pipewire/keys.h:139
struct sm_device * sdevice
Definition: alsa-monitor.c:104
struct pw_client_endpoint * client_endpoint
Definition: alsa-endpoint.c:74
@ SPA_TYPE_OBJECT_ParamProfile
Definition: build-12775836/doc/spa/utils/type.h:94
#define PW_DIRECTION_OUTPUT
Definition: port.h:58
#define SEQ_NAME
Definition: alsa-midi.c:43
void spa_list_remove(struct spa_list *elem)
Definition: list.h:69
struct spa_handle * handle
Definition: alsa-monitor.c:123
#define SPA_AUDIO_MAX_CHANNELS
Definition: audio/raw.h:43
int spa_format_audio_raw_parse(const struct spa_pod *format, struct spa_audio_info_raw *info)
Definition: audio/format-utils.h:43
#define PW_KEY_LINK_INPUT_PORT
input port id of a link
Definition: src/pipewire/keys.h:199
snd_use_case_mgr_t * ucm
Definition: alsa-endpoint.c:84
struct sm_node * node
Definition: alsa-endpoint.c:105
#define PW_TYPE_INTERFACE_Node
Definition: src/pipewire/node.h:50
unsigned int first
Definition: alsa-monitor.c:109
@ SPA_PARAM_PORT_CONFIG_monitor
(Bool) enable monitor output ports on input ports
Definition: param.h:149
struct node * node
Definition: alsa-endpoint.c:71
unsigned int probed
Definition: alsa-monitor.c:111
#define PW_KEY_NODE_DESCRIPTION
localized human readable node one-line description.
Definition: src/pipewire/keys.h:140
struct pw_proxy * jack_device
Definition: alsa-monitor.c:131
#define _(String)
Definition: src/pipewire/i18n.h:37
@ SPA_PARAM_PortConfig
port configuration as SPA_TYPE_OBJECT_ParamPortConfig
Definition: param.h:55
const char * factory_name
a factory name that implements the object
Definition: build-12775836/doc/spa/monitor/device.h:86
#define PW_KEY_NODE_NAME
node name
Definition: src/pipewire/keys.h:138
Definition: build-12775836/doc/spa/node/node.h:53
#define PW_KEY_DEVICE_API
API this device is accessed with.
Definition: src/pipewire/keys.h:217
A hook, contains the structure with functions and the data passed to the functions.
Definition: hook.h:295
#define pw_loop_add_io(l,...)
Definition: src/pipewire/loop.h:71
int sm_alsa_endpoint_start(struct sm_media_session *session)
Definition: alsa-endpoint.c:758
#define SPA_KEY_DEVICE_NAME
the name of the device
Definition: build-12775836/doc/spa/monitor/device.h:262
#define SPA_IO_ERR
Definition: system.h:57
#define PW_KEY_PRIORITY_DRIVER
priority to be a driver
Definition: src/pipewire/keys.h:98
#define PW_KEY_DEVICE_DESCRIPTION
localized human readable device one-line description.
Definition: src/pipewire/keys.h:219
@ SPA_LOG_LEVEL_DEBUG
Definition: build-12775836/doc/spa/support/log.h:51
#define SPA_FLAG_IS_SET(field, flag)
Definition: defs.h:73
#define SPA_NAME_API_ALSA_SEQ_BRIDGE
an alsa Node interface for bridging midi ports
Definition: names.h:107
information about a parameter
Definition: param.h:64
void spa_list_init(struct spa_list *list)
Definition: list.h:44
struct spa_node * node
Definition: alsa-monitor.c:76
#define PW_KEY_LINK_OUTPUT_PORT
output port id of a link
Definition: src/pipewire/keys.h:201
void spa_pod_builder_init(struct spa_pod_builder *builder, void *data, uint32_t size)
Definition: builder.h:96
#define PW_KEY_DEVICE_NICK
a short device nickname
Definition: src/pipewire/keys.h:214
#define SPA_KEY_API_ALSA_PCM_DEVICE
device from pcm_info
Definition: build-12775836/doc/spa/utils/keys.h:81
struct spa_handle * handle
Definition: alsa-monitor.c:100
#define SPA_VERSION_DEVICE_EVENTS
version of the structure
Definition: build-12775836/doc/spa/monitor/device.h:119
#define pw_log_level_enabled(lev)
Check if a loglevel is enabled.
Definition: src/pipewire/log.h:78
Definition: utils/dict.h:48
#define SPA_KEY_API_ALSA_PCM_ID
info from alsa pcm_info
Definition: build-12775836/doc/spa/utils/keys.h:75
#define SPA_KEY_DEVICE_BUS_ID
the device bus-id
Definition: build-12775836/doc/spa/monitor/device.h:272
#define SPA_POD_Bool(val)
Definition: vararg.h:53
uint32_t n_acquired
Definition: alsa-monitor.c:107
const char * type
the object type managed by this device
Definition: build-12775836/doc/spa/monitor/device.h:85
#define pw_node_set_param(c,...)
Definition: src/pipewire/node.h:201
int spa_debug_dict(int indent, const struct spa_dict *dict)
Definition: debug/dict.h:43
const char * spa_dict_lookup(const struct spa_dict *dict, const char *key)
Definition: utils/dict.h:99
#define DEFAULT_JACK_SECONDS
Definition: alsa-monitor.c:65
Definition: param/audio/format.h:40
struct spa_node_info info
Definition: stream.c:137
struct sm_node * snode
Definition: alsa-monitor.c:78
@ SPA_PARAM_EnumFormat
available formats as SPA_TYPE_OBJECT_Format
Definition: param.h:47
#define spa_pod_parse_object(pod, type, id,...)
Definition: parser.h:560
struct spa_handle * pw_context_load_spa_handle(struct pw_context *context, const char *factory_name, const struct spa_dict *info)
Definition: context.c:1340
#define spa_strerror(err)
Definition: result.h:51
struct spa_list link
link in impl endpoint_list
Definition: alsa-endpoint.c:65
uint32_t id
Definition: alsa-monitor.c:85
struct device * device
Definition: alsa-monitor.c:70
#define SPA_IO_IN
Definition: system.h:55
#define spa_device_set_param(d,...)
Definition: build-12775836/doc/spa/monitor/device.h:256
int pw_proxy_sync(struct pw_proxy *proxy, int seq)
Generate an sync method for a proxy.
Definition: proxy.c:310
#define pw_loop_add_timer(l,...)
Definition: src/pipewire/loop.h:77
#define pw_log_debug(...)
Definition: src/pipewire/log.h:89
int spa_format_parse(const struct spa_pod *format, uint32_t *media_type, uint32_t *media_subtype)
Definition: format-utils.h:42
struct spa_hook device_listener
Definition: alsa-monitor.c:102
#define PW_KEY_LINK_OUTPUT_NODE
output node id of a link
Definition: src/pipewire/keys.h:200
struct spa_list endpoint_list
Definition: alsa-endpoint.c:118
#define spa_handle_get_interface(h,...)
Definition: plugin.h:73
uint32_t id
Definition: policy-ep.c:71
struct pw_properties * conf
Definition: alsa-monitor.c:120
Definition: alsa-endpoint.c:64
struct spa_device * monitor
Definition: alsa-monitor.c:125
struct spa_hook proxy_listener
Definition: alsa-endpoint.c:75
Information about the device and parameters it supports.
Definition: build-12775836/doc/spa/monitor/device.h:60
#define SPA_ID_INVALID
Definition: defs.h:182
int pw_unload_spa_handle(struct spa_handle *handle)
Definition: pipewire.c:321
uint8_t tmp[TMP_BUFFER]
Definition: module-profiler.c:86
struct pw_context * context
Definition: settings.c:43
#define PW_KEY_MEDIA_CLASS
class Ex: "Video/Source"
Definition: src/pipewire/keys.h:285
int pw_properties_update_string(struct pw_properties *props, const char *str, size_t size)
Update the properties from the given string, overwriting any existing keys with the new values from s...
Definition: properties.c:154
int pw_properties_set(struct pw_properties *properties, const char *key, const char *value)
Set a property value.
Definition: properties.c:435
struct sm_media_session * session
Definition: access-flatpak.c:45
struct pw_properties * props
Definition: alsa-endpoint.c:95
uint32_t type
Definition: pod/pod.h:52
struct endpoint * endpoint
Definition: alsa-endpoint.c:93
struct pw_proxy * proxy
Definition: alsa-midi.c:56
#define spa_dbus_connection_get(c)
Definition: dbus.h:112
#define PW_KEY_DEVICE_ID
device properties
Definition: src/pipewire/keys.h:210
#define PW_KEY_DEVICE_ICON_NAME
an XDG icon name for the device.
Definition: src/pipewire/keys.h:240
struct spa_hook client_endpoint_listener
Definition: alsa-endpoint.c:76
#define PW_KEY_FACTORY_NAME
the name of the factory
Definition: src/pipewire/keys.h:260
#define pw_log_warn(...)
Definition: src/pipewire/log.h:87
struct spa_device * device
Definition: alsa-monitor.c:101
struct rd_device * reserve
Definition: alsa-monitor.c:90
#define SPA_NAME_API_ALSA_ACP_DEVICE
an alsa ACP Device interface
Definition: names.h:109
struct spa_list node_list
Definition: alsa-monitor.c:113
unsigned int active
Definition: alsa-endpoint.c:100
uint32_t type
Definition: policy-node.c:116
@ SPA_PARAM_PROFILE_index
profile index (Int)
Definition: param.h:113
struct spa_pod pod
Definition: pod/event.h:44
unsigned int acquired
Definition: alsa-monitor.c:79
uint32_t device_id
Definition: alsa-monitor.c:86
#define spa_pod_builder_add_object(b, type, id,...)
Definition: builder.h:650
Definition: pod/event.h:43
#define SPA_KEY_DEVICE_BUS_PATH
bus path to the device in the OS' format.
Definition: build-12775836/doc/spa/monitor/device.h:273
union spa_audio_info::@5 info
void pw_proxy_add_listener(struct pw_proxy *proxy, struct spa_hook *listener, const struct pw_proxy_events *events, void *data)
Add an event listener to proxy.
Definition: proxy.c:195
void spa_hook_remove(struct spa_hook *hook)
Remove a hook.
Definition: hook.h:336
@ SPA_PARAM_PORT_CONFIG_mode
(Id enum spa_param_port_config_mode) mode
Definition: param.h:148
#define pw_log_info(...)
Definition: src/pipewire/log.h:88
int pending_profile
Definition: alsa-monitor.c:96
struct spa_hook listener
Definition: alsa-endpoint.c:72
struct sm_device * obj
Definition: default-profile.c:101
#define SPA_PARAM_INFO_READWRITE
Definition: param.h:70
int spa_debug_pod(int indent, const struct spa_type_info *info, const struct spa_pod *pod)
Definition: debug/pod.h:200
int sm_alsa_monitor_start(struct sm_media_session *session)
Definition: alsa-monitor.c:1100
@ SPA_PARAM_PropInfo
property information as SPA_TYPE_OBJECT_PropInfo
Definition: param.h:45
uint64_t change_mask
Definition: build-12775836/doc/spa/node/node.h:66
@ SPA_EVENT_DEVICE_Props
Definition: monitor/event.h:47
#define SESSION_CONF
Definition: alsa-monitor.c:63
#define spa_device_add_listener(d,...)
Definition: build-12775836/doc/spa/monitor/device.h:253
#define SPA_KEY_API_ALSA_PATH
alsa device path as can be used in snd_pcm_open() and snd_ctl_open().
Definition: build-12775836/doc/spa/utils/keys.h:57
int seq
Definition: alsa-monitor.c:92
#define SPA_POD_OPT_Pod(val)
Definition: parser.h:533
#define SPA_POD_Id(val)
Definition: vararg.h:56
struct pw_properties * props
Definition: alsa-monitor.c:98
#define PW_KEY_PRIORITY_SESSION
priority in session manager
Definition: src/pipewire/keys.h:97
struct spa_list link
Definition: alsa-monitor.c:84
struct pw_properties * pw_properties_new(const char *key,...) 1
Make a new properties object.
Definition: properties.c:98
#define SPA_KEY_NODE_NAME
node keys
Definition: build-12775836/doc/spa/node/keys.h:38
#define SESSION_KEY
Definition: alsa-endpoint.c:62
@ SPA_TYPE_OBJECT_ParamPortConfig
Definition: build-12775836/doc/spa/utils/type.h:95
unsigned int appeared
Definition: alsa-monitor.c:110
struct spa_list stream_list
Definition: alsa-endpoint.c:88
#define SPA_CALLBACKS_INIT(_funcs, _data)
Initialize the set of functions funcs as a spa_callbacks, together with _data.
Definition: hook.h:142
int pw_properties_setf(struct pw_properties *properties, const char *key, const char *format,...) 1(3
spa_device_events:
Definition: build-12775836/doc/spa/monitor/device.h:117
struct pw_stream * stream
Definition: module-example-sink.c:93
#define pw_direction
The direction of a port.
Definition: port.h:56
uint64_t change_mask
Definition: build-12775836/doc/spa/monitor/device.h:90
Information about a device object.
Definition: build-12775836/doc/spa/monitor/device.h:81
@ SPA_MEDIA_SUBTYPE_raw
Definition: param/format.h:53
struct endpoint * endpoint
Definition: alsa-endpoint.c:109
#define SPA_KEY_API_ALSA_PCM_STREAM
stream type from pcm_info
Definition: build-12775836/doc/spa/utils/keys.h:79
Definition: default-profile.c:149
Definition: properties.h:49
void pw_properties_free(struct pw_properties *properties)
Free a properties object.
Definition: properties.c:364
uint32_t id
Definition: alsa-monitor.c:72
#define SPA_KEY_FACTORY_NAME
the name of a factory
Definition: plugin.h:211
#define pw_log_error(...)
Definition: src/pipewire/log.h:86
#define spa_list_append(list, item)
Definition: list.h:81