Change interface SoundHandler type

This commit is contained in:
hodasemi 2023-01-16 14:08:54 +01:00 committed by Michael Hübner
parent 784eba4e41
commit f4ac45e5b6

View file

@ -18,7 +18,7 @@ pub trait ContextInterface: Send + Sync {
fn height(&self) -> u32; fn height(&self) -> u32;
#[cfg(feature = "audio")] #[cfg(feature = "audio")]
fn sound_handler(&self) -> &mut SoundHandler; fn sound_handler(&self) -> std::sync::MutexGuard<'_, SoundHandler>;
} }
pub enum TargetMode<T> { pub enum TargetMode<T> {