mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
modules: use the new topic-based logging from various pipewire modules
This commit is contained in:
parent
e9d869b46f
commit
14112fd168
29 changed files with 228 additions and 80 deletions
|
|
@ -48,6 +48,11 @@
|
|||
/** \page page_module_rtkit PipeWire Module: RTKit
|
||||
*/
|
||||
|
||||
#define NAME "rtkit"
|
||||
|
||||
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
|
||||
#define DEFAULT_NICE_LEVEL -11
|
||||
#define DEFAULT_RT_PRIO 88
|
||||
#define DEFAULT_RT_TIME_SOFT 2000000
|
||||
|
|
@ -675,6 +680,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
const char *str;
|
||||
int res;
|
||||
|
||||
PW_LOG_TOPIC_INIT(mod_topic);
|
||||
|
||||
if ((props = pw_context_get_properties(context)) != NULL &&
|
||||
(str = pw_properties_get(props, "support.dbus")) != NULL &&
|
||||
!pw_properties_parse_bool(str))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue