mirror of
https://github.com/openai/codex.git
synced 2026-04-28 02:11:08 +03:00
codex: fix realtime bazel build
This commit is contained in:
@@ -361,6 +361,9 @@ impl ChatWidget {
|
||||
#[cfg(target_os = "linux")]
|
||||
fn start_realtime_local_audio(&mut self) {}
|
||||
|
||||
#[cfg(all(not(target_os = "linux"), not(feature = "voice-input")))]
|
||||
fn start_realtime_local_audio(&mut self) {}
|
||||
|
||||
#[cfg(all(not(target_os = "linux"), feature = "voice-input"))]
|
||||
pub(crate) fn restart_realtime_audio_device(&mut self, kind: RealtimeAudioDeviceKind) {
|
||||
if !self.realtime_conversation.is_active() {
|
||||
|
||||
Reference in New Issue
Block a user