aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/quarrel/native/src/sound.rs
blob: c398d707b263e22866e01d260a3ba552373da52c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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<()> {
    
}