diff options
Diffstat (limited to 'src/map.rs')
| -rw-r--r-- | src/map.rs | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -4,7 +4,7 @@ use std::process::Command; use {Action, HeadphoneButton, MapAction, MapKind}; use ffi::State; -use sounds; +// use sounds; #[repr(C)] pub enum PlayAudio { @@ -37,12 +37,12 @@ pub fn run_key_action<'a>( if &in_mode[..] == trigger { state.in_mode = None; - if play_audio.yes() { - match sounds::play_mode_deactivated() { - Ok(_) => (), - Err(e) => error!("{}", e), - } - } + // if play_audio.yes() { + // match sounds::play_mode_deactivated() { + // Ok(_) => (), + // Err(e) => error!("{}", e), + // } + // } return; } @@ -62,12 +62,12 @@ pub fn run_key_action<'a>( if mode.is_some() { state.in_mode = Some(trigger.to_vec()); - if play_audio.yes() { - match sounds::play_mode_activated() { - Ok(_) => (), - Err(e) => error!("{}", e), - } - } + // if play_audio.yes() { + // match sounds::play_mode_activated() { + // Ok(_) => (), + // Err(e) => error!("{}", e), + // } + // } } }, None => (), |
