I want to help you to add support for files but it's my first binding to C (and I don't know C). I think that I have a starting point here to work and improve from, if you like it. However, I'm going to need some help or guidance to do this right.
Looks good, thank you ☺️. Only thing left to do is fix the headers l because the name of the flags has changed a bit but I'll do that in a bit after meeting this.
I want to help you to add support for files but it's my first binding to C (and I don't know C). I think that I have a starting point here to work and improve from, if you like it. However, I'm going to need some help or guidance to do this right.
(Related https://github.com/ExPixel/miniaudio-rs/issues/10)
This code works with this example:
What do you think?