How to encode Ogg/vorbis from wav?
Looks like no documentation about that in README.md.
WAV is usually combined with uncompressed audio, but Ogg Vorbis is a general-purpose compressed audio format.
https://en.wikipedia.org/wiki/WAV https://xiph.org/vorbis/
Yes, description of this repository: "Package vorbis provides Go bindings for OggVorbis", so with this vorbis-go this is impossible to encode uncompressed wav to compressed Ogg/vorbis? Only option that I have is to call oggenc from Go through the os/exec?
Sorry I misread the title as "how to decode..." :)
This example https://github.com/xiph/vorbis/blob/master/examples/encoder_example.c can be ported to Go as I did with their decoder example. I just needed to decode, so I ported only one-way example.
While this is not ported to your vorbis-go - Go's os/exec to oggenc is the only option?