How to use sdl2 with Rust?

Especially audio, with Linux and Redox.
I want simply play sample of bytes array or play readed wav file.

Did you try the SDL2 crate?

The AudioSpecWAV struct should be able to play WAV files:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.