diff options
Diffstat (limited to '.config/awesome/quarrel/native/src/sound.rs')
| -rw-r--r-- | .config/awesome/quarrel/native/src/sound.rs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.config/awesome/quarrel/native/src/sound.rs b/.config/awesome/quarrel/native/src/sound.rs new file mode 100644 index 0000000..c398d70 --- /dev/null +++ b/.config/awesome/quarrel/native/src/sound.rs @@ -0,0 +1,17 @@ +use std::{ + fs::File, + io::BufReader, + path::Path, + time::Duration, +}; + +use mlua::prelude::*; +use rodio::{ + Decoder, + OutputStream, + Sink, +}; + +pub fn play_sound(_: &Lua, file: String) -> LuaResult<()> { + +} |
