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?

https://rust-sdl2.github.io/rust-sdl2/sdl2/

The AudioSpecWAV struct should be able to play WAV files:

https://docs.rs/sdl2/0.31.0/sdl2/audio/struct.AudioSpecWAV.html