18 lines
231 B
Rust
18 lines
231 B
Rust
|
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<()> {
|
||
|
|
||
|
}
|