diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-08 23:26:14 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-08 23:26:14 +0100 |
commit | da08e318a60703777832e0eec7222a35d75cb848 (patch) | |
tree | af0db60911b9e1e96a56bd0e8c65dd5603d92680 /src/pipewire_audio.c | |
parent | 10dd7f1c6406ba7c962a97bfbe38a229a6ab55ce (diff) |
Remove shit
Diffstat (limited to 'src/pipewire_audio.c')
-rw-r--r-- | src/pipewire_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pipewire_audio.c b/src/pipewire_audio.c index 2b2d4e6..cbcbb61 100644 --- a/src/pipewire_audio.c +++ b/src/pipewire_audio.c @@ -372,7 +372,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); - struct pw_properties *props = pw_properties_new_string_checked(props_str, strlen(props_str), NULL); + 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"); return NULL; |