Change interface SoundHandler type

This commit is contained in:
Michael Hübner 2023-01-16 14:08:54 +01:00
parent dde6b8a73e
commit f5a940c7ea

View file

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