mirror of
https://github.com/openai/codex.git
synced 2026-10-21 05:22:21 +00:00
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:
committed by
copyberry
parent
54e04f25db
commit
ef6c058202
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user