How to decode ogg audio file for raw audio data?

I have a file .ogg

and I want to decode it to raw audio data. I've read the documentation for it libvorbis

, but it's very short and confusing. I do not understand this! What should I use libvorbis

or libogg

? Or something else?

+3


source to share


1 answer


ogg

is a file format, so using libogg

you can demux

file and then you get the vorbis sound that you will need to decrypt using libvorbis

. and you get raw audio.



Sample applications for using this library are available online.

+2


source







All Articles