Maudio - bindings to miniaudio (early)
⚓ Rust 📅 2026-02-16 👤 surdeus 👁️ 5For a while I've been working on an ffi crate and I feel like it's the right time to ask for some feedback. I've been interested in exploring C and ffi and felt like miniaudio is a fantastic library. There is an existing project, but long dead and very incomplete. I didn't start this trying to compete with other sound libraries in Rust although I do plan finish this project and maintain it.
Docs
https://github.com/someotherself/maudio
It's still in a relatively early stage, but the high level API is very usable and stable at this point. There's a few things left to implement there (most notably the resource manager).
A lot of stuff is still left to do for the low level API.
I learned a lot building it and feel like I developed a style I'm comfortable with. I also had great tips from the people in this forum.
I still have a few challenges ahead, like testing multiple platforms. At the moment, I can't even test for MacOS. I'll have to figure something out as it would be a shame not to support most of the platforms supported by miniaudio.
I also still struggle a bit with building an interface for the real time audio callbacks that I am comfortable with. At the moment, the few implemented act as notifiers which is still useful a lot of times, but not enough. I need to spend more time with that problem.
1 post - 1 participant
🏷️ Rust_feed