#sound #wasm

uni-snd

Unrust low level native/wasm compatibility layer for sound output

1 unstable release

0.1.0 Aug 4, 2018

#74 in WebAssembly

Download history 20/week @ 2018-08-05

6 downloads per month

unrust / uni-snd

Build Status Documentation crates.io

This library is a part of Unrust, a pure rust native/wasm game engine. This library provides a low level native/wasm compatibility layer for following components :

  • Sound output

This project is under heavily development, all api are very unstable until version 0.2

Usage

See examples

Build

As web app (wasm32-unknown-unknown)

When targetting wasm32-unknown-unknown, stdweb currently requires Rust nightly.

cargo install --force cargo-web # installs web sub command
rustup override set nightly
rustup target install wasm32-unknown-unknown
cargo web start --example basic --release

As desktop app (native-opengl)

Native compilation works with current stable Rust (1.28)

rustup override set stable
cargo run --example basic --release

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

MIT license

Dependencies

Reverse deps