aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/quarrel/native/src/sound.rs
diff options
context:
space:
mode:
authordelta <darkussdelta@gmail.com>2023-04-12 00:21:03 +0200
committerdelta <darkussdelta@gmail.com>2023-04-12 00:21:03 +0200
commit98676ca1d7ab9a9abb4c01d0cdf67b83f7cdce49 (patch)
tree2c8499e59cd346c8f59688d8c5dda231c178941a /.config/awesome/quarrel/native/src/sound.rs
parentf7116d268aff3fae88d8de408e8c807295618a5c (diff)
idk what i'm doing
Diffstat (limited to '.config/awesome/quarrel/native/src/sound.rs')
-rw-r--r--.config/awesome/quarrel/native/src/sound.rs17
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<()> {
+
+}