chore: clean Android voice build warnings
This commit is contained in:
@@ -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"))]
|
||||
|
||||
Reference in New Issue
Block a user