Rust-SDL2_mixer

Build Status

Rust bindings for SDL2_mixer.

Installation

Requirements

normal

``` git clone https://github.com/andelf/rust-sdl2_mixer cargo build

TODO: OR if you are using the mac framework version

rustc --cfg macframework src/sdl2mixer/lib.rs ```

cargo

[dependencies] sdl2_mixer = "$version-here$"

or

[dependencies.sdl2_mixer] git = "https://github.com/andelf/rust-sdl2_mixer"

Demo

cargo run /path/to/wav_file.wav