rtp_stream: Use the log topic of the module

Set log topic to the topic of the module linked with stream instead of
logging with "default" topic.
This commit is contained in:
Jonas Holmberg 2024-04-16 10:21:40 +02:00 committed by Wim Taymans
parent 24478b9128
commit 09088b376f
5 changed files with 7 additions and 4 deletions

View file

@ -24,6 +24,9 @@
#include <module-rtp/stream.h>
#include <module-rtp/apple-midi.h>
PW_LOG_TOPIC_EXTERN(mod_topic);
#define PW_LOG_TOPIC_DEFAULT mod_topic
#define BUFFER_SIZE (1u<<22)
#define BUFFER_MASK (BUFFER_SIZE-1)
#define BUFFER_SIZE2 (BUFFER_SIZE>>1)