From 3a200a4c9f74c93c7fa97d013613db60a3290538 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 10 Jan 2025 23:59:15 +0100 Subject: Workaround teamspeak crashing when recording app audio --- src/pipewire_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3