Closed pcwalton closed 11 years ago
Heya @pcwalton
sdl.rc is referencing pub mod audio
, which wants an audio.rs
, which isn't in your pull request. Is there supposed to be one? :)
@AngryLawyer Good catch, updated the commit.
And added mixer.rs
.
Merged in and compiles! Thanks for your efforts, @pcwalton.
This is the only way to get audio support in Rust at the moment; the low-level SDL_audio stuff wants to run a callback on a separate thread and that will segfault at the moment. brson's stuff should eventually fix this, but for now the SDL mixer must be used.