Disable clock synchronization in the voice audio sink (#43704)

Set the GStreamer audio sink's `slave-method` to `none` instead of
`resample`, and disable sink synchronization with `set_sync(false)`.

GitOrigin-RevId: a74f3e6d70e0d817c75bd963b31f16c69c2732ab
This commit is contained in:
Benjamin Carlsson
2026-09-08 04:55:29 +00:00
committed by copyberry
parent 54e04f25db
commit ef6c058202
+2 -1
View File
@@ -127,7 +127,8 @@ impl Sink {
let sink: Self = glib::Object::new();
assert!(sink.imp().writer.set(writer).is_ok());
sink.set_provide_clock(false);
sink.set_property_from_str("slave-method", "resample");
sink.set_property_from_str("slave-method", "none");
sink.set_sync(false);
sink.set_async(false);
sink.set_enable_last_sample(false);
sink