Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the SDL mixer. #31

Merged
merged 1 commit into from Feb 11, 2013
Merged

Add support for the SDL mixer. #31

merged 1 commit into from Feb 11, 2013

Conversation

pcwalton
Copy link
Collaborator

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.

@AngryLawyer
Copy link
Collaborator

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? :)

@pcwalton
Copy link
Collaborator Author

@AngryLawyer Good catch, updated the commit.

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.
@pcwalton
Copy link
Collaborator Author

And added mixer.rs.

@AngryLawyer AngryLawyer merged commit 24172d3 into brson:master Feb 11, 2013
@AngryLawyer
Copy link
Collaborator

Merged in and compiles! Thanks for your efforts, @pcwalton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants