sdl2_mixer 0.0.3

SDL2_mixer bindings for Rust
docs.rs failed to build sdl2_mixer-0.0.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: sdl2_mixer-0.25.0

Rust-SDL2_mixer

Build Status

Rust bindings for SDL2_mixer.

Installation

Requirements

  • Rust-sdl2
  • sdl_mixer 2.0 development libraries
  • Rust nightly
  • Cargo nightly

normal

git clone https://github.com/andelf/rust-sdl2_mixer
cargo build
# TODO: OR if you are using the mac framework version
rustc --cfg mac_framework src/sdl2_mixer/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