mlua-pulse 0.1.0

Lua-friendly music composition and audio export bindings built on tunes and mlua
Documentation
1
2
3
4
5
6
7
8
9
10
#[test]
fn register_returns_pulse_module_table() {
    let lua = mlua::Lua::new();
    let module = mlua_pulse::register(&lua).expect("register should create module table");

    let version: String = module
        .get("_VERSION")
        .expect("module should expose version");
    assert_eq!(version, env!("CARGO_PKG_VERSION"));
}