mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
codex: fix remaining lint on PR #14902
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -983,7 +983,7 @@ fn update_output_audio_state(
|
||||
fn audio_duration_ms(frame: &RealtimeAudioFrame) -> u32 {
|
||||
let Some(samples_per_channel) = frame
|
||||
.samples_per_channel
|
||||
.or_else(|| decoded_samples_per_channel(frame))
|
||||
.or(decoded_samples_per_channel(frame))
|
||||
else {
|
||||
return 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user