Hi, I'm getting into sound programming with openal and I'm having trouble loading ogg files with openal. I'm trying to use stb_voribs to avoid any unnecessary dependencies. The point is, I am able to load sound files and play them with openal, but when I try to load a file with stb_vorbis, it gets really complicated. I am not sure about what I should be doing to load the sound, as the only documentation is the source code(which I find complicated) I don't know what to do. I tried using
stb_vorbis_decode_filename("file.ogg" ,&channels, &rate, &output)
but it takes too much time to load and there's no way of knowing the size of output in bytes.
I'm just asking if anybody has any experience with this library, how should I be doing it. Thanks in advance!