mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
modules: switch protocol-native to the new logging system
This is more complicated than a normal module because we have two logging topics: mod.protocol-native and conn.protocol-native for wire messages. Because the latter use spa_debug (through spa_debug_pod) we need to #define our way around so those too use the right topics. Note that this removes the previous "connection" category, it is now "conn.protocol-native" instead.
This commit is contained in:
parent
14112fd168
commit
96f8a7597e
6 changed files with 58 additions and 32 deletions
|
|
@ -34,6 +34,9 @@
|
|||
|
||||
#include "connection.h"
|
||||
|
||||
PW_LOG_TOPIC_EXTERN(mod_topic);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
|
||||
static int core_method_marshal_add_listener(void *object,
|
||||
struct spa_hook *listener,
|
||||
const struct pw_core_events *events,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue