mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-20 08:56:56 -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
|
|
@ -45,6 +45,12 @@
|
|||
/** \page page_module_rt PipeWire Module: RT
|
||||
*/
|
||||
|
||||
|
||||
#define NAME "rt"
|
||||
|
||||
PW_LOG_TOPIC_STATIC(mod_topic, "mod." NAME);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
|
||||
#define DEFAULT_POLICY SCHED_FIFO
|
||||
|
||||
#define DEFAULT_NICE_LEVEL -11
|
||||
|
|
@ -249,6 +255,8 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
int nice_level;
|
||||
int res;
|
||||
|
||||
PW_LOG_TOPIC_INIT(mod_topic);
|
||||
|
||||
impl = calloc(1, sizeof(struct impl));
|
||||
if (impl == NULL)
|
||||
return -ENOMEM;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue