Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

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

Benjamin Carlssonef6c0582028f
diff --git a/codex-rs/voice-host/src/audio_sink.rs b/codex-rs/voice-host/src/audio_sink.rs
index 0d466ac9f7..33f0062bbb 100644
--- a/codex-rs/voice-host/src/audio_sink.rs
+++ b/codex-rs/voice-host/src/audio_sink.rs
@@ -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