-
Notifications
You must be signed in to change notification settings - Fork 28
Add "alut" to this package? #24
Comments
I've never used ALUT before, but from what I'm seeing in the API documentation, it could just be reimplemented in rust rather straightforwardly using crates like |
Well, the advantage of using ALUT has to do with making it easier for loading and playing ".WAV" files. Is there a way you could provide a .WAV loading example inside of the tests? I think that would help users jump-start their usage of this library, as well as give them ideas about incorporating other ones like vorbis-rs (inside of their own projects). |
Bump I'm actually in the process of creating a .WAV loader from scratch based upon this tutorial. Some of the data types are different (because Rust handles chars differently than C), but if you have any pointers, I'd appreciate your help! |
The WAV format isn't too bad. The main tip I have is to just make sure you handle the potential that the RIFF chunks can be in any order. The source for hound is also probably a good reference: https://github.com/ruuda/hound |
Huh! This library makes what I'm trying to do much easier. Thank you for making me aware of it! : ) |
@jpernst You can go ahead and close this ticket. I've figured out how to play .WAV files using Hound and openal-rs. :) |
ALUT adds some helper methods for initializing audio files and creating/binding a buffer. Is there a way you can get that added inside of this package so users don't have to resort to the boilerplate "alc" conventions?
The text was updated successfully, but these errors were encountered: