mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pulse-server: add category for connection debug
Use a new conn. topic to debug the messages. These are disabled by default.
This commit is contained in:
parent
34973eac89
commit
72bee99f87
3 changed files with 8 additions and 2 deletions
|
|
@ -305,6 +305,7 @@
|
|||
|
||||
PW_LOG_TOPIC(mod_topic, "mod." NAME);
|
||||
#define PW_LOG_TOPIC_DEFAULT mod_topic
|
||||
PW_LOG_TOPIC(pulse_conn, "conn." NAME);
|
||||
PW_LOG_TOPIC(pulse_ext_dev_restore, "mod." NAME ".device-restore");
|
||||
PW_LOG_TOPIC(pulse_ext_stream_restore, "mod." NAME ".stream-restore");
|
||||
|
||||
|
|
@ -354,6 +355,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args)
|
|||
int res;
|
||||
|
||||
PW_LOG_TOPIC_INIT(mod_topic);
|
||||
PW_LOG_TOPIC_INIT(pulse_conn);
|
||||
/* it's easier to init these here than adding an init() call to the
|
||||
* extensions */
|
||||
PW_LOG_TOPIC_INIT(pulse_ext_dev_restore);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue