misc fixes

This commit is contained in:
Aiden McClelland
2021-09-06 17:58:48 -06:00
committed by Aiden McClelland
parent 73d7d3f855
commit ccf505d0d3
9 changed files with 27 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ lazy_static::lazy_static! {
static ref SOUND_MUTEX: Mutex<Option<fd_lock_rs::FdLock<tokio::fs::File>>> = Mutex::new(None);
}
pub const SOUND_LOCK_FILE: &'static str = "/TODO/AIDEN/CHANGEME";
pub const SOUND_LOCK_FILE: &'static str = "/etc/embassy/sound.lock";
struct SoundInterface(Option<MutexGuard<'static, Option<fd_lock_rs::FdLock<tokio::fs::File>>>>);
impl SoundInterface {