aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-10 23:59:15 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-10 23:59:15 +0100
commit3a200a4c9f74c93c7fa97d013613db60a3290538 (patch)
treea8cf45954ee9100423e71396e56e7b6aea526da2 /src
parentf6f8f2068601f7e412643a2a589bedce6e2c5fce (diff)
Workaround teamspeak crashing when recording app audioHEADmaster
Diffstat (limited to 'src')
-rw-r--r--src/pipewire_audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipewire_audio.c b/src/pipewire_audio.c
index cbcbb61..00cd4b4 100644
--- a/src/pipewire_audio.c
+++ b/src/pipewire_audio.c
@@ -371,7 +371,7 @@ void gsr_pipewire_audio_deinit(gsr_pipewire_audio *self) {
static struct pw_properties* gsr_pipewire_create_null_audio_sink(const char *name) {
char props_str[512];
- snprintf(props_str, sizeof(props_str), "{ factory.name=support.null-audio-sink node.name=\"%s\" media.class=Audio/Sink object.linger=false audio.position=[FL FR] monitor.channel-volumes=true monitor.passthrough=true adjust_time=0 slaves=\"\" }", name);
+ snprintf(props_str, sizeof(props_str), "{ factory.name=support.null-audio-sink node.name=\"%s\" media.class=Audio/Sink object.linger=false audio.position=[FL FR] monitor.channel-volumes=true monitor.passthrough=true adjust_time=0 node.description=gsr-app-sink slaves=\"\" }", name);
struct pw_properties *props = pw_properties_new_string(props_str);
if(!props) {
fprintf(stderr, "gsr error: gsr_pipewire_create_null_audio_sink: failed to create virtual sink properties\n");