chore: clean Android voice build warnings

This commit is contained in:
Edison Jwa
2026-05-25 01:27:28 +09:00
parent 7c9660572e
commit 6f64062fd8
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -1284,7 +1284,9 @@ impl ChanoraSession {
let guard = self.inner.lock().await;
let state = guard.as_ref().ok_or(CoreError::NotConnected)?;
let audio = state.audio.as_ref().ok_or(CoreError::AudioNotStarted)?;
#[cfg(any(target_os = "ios", target_os = "macos"))]
let new_config = config.clone();
#[cfg(any(target_os = "ios", target_os = "macos"))]
let current = audio.audio_processing_config_snapshot();
audio.set_audio_processing_config(config)?;
#[cfg(any(target_os = "ios", target_os = "macos"))]