Compare commits
1 commit
8ad53e456f
...
16c32f6dbe
Author | SHA1 | Date | |
---|---|---|---|
16c32f6dbe |
2 changed files with 2 additions and 1 deletions
|
@ -18,3 +18,4 @@ anyhow = { version = "1.0.86", features = ["backtrace"] }
|
||||||
audio = { git = "https://gavania.de/hodasemi/audio.git", optional = true }
|
audio = { git = "https://gavania.de/hodasemi/audio.git", optional = true }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
default = ["audio"]
|
||||||
|
|
|
@ -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(&mut self) -> &mut SoundHandler;
|
fn sound_handler(&self) -> std::sync::MutexGuard<'_, SoundHandler>;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub enum TargetMode<T> {
|
pub enum TargetMode<T> {
|
||||||
|
|
Loading…
Reference in a new issue