jarikomppa / soloud

Free, easy, portable audio engine for games
http://soloud-audio.com
Other
1.79k stars 284 forks source link

Customizing miniaudio backends #254

Open woollybah opened 4 years ago

woollybah commented 4 years ago

I see you pass in a NULL context into miniaudio init, which assigns the default order/list of backends.

Unfortunately, my users are a bit picky when it comes to using audio drivers, and like the ability to prefer one over the other.

I don't suppose there's a easy way to expose the ability to customise the context directly through SoLoud ?

If not, I'll just have to get my hands dirty :-)

Thanks!

jarikomppa commented 4 years ago

Dirty away. The backend-init api isn't designed for this. I'll keep it in mind for the future, though.