Registry / other / libvorbis

libvorbis

JSON →
library1.3.7vcpkgunverified

Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed audio format

vcpkg install libvorbis
INSTALL
IMPORT
SIG · LIBVORBIS
L
libvorbis
othercppv1.3.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vorbis/vorbisfile.h
#include <vorbis/vorbisfile.h>

Open and read an Ogg Vorbis audio file

#include <vorbis/vorbisfile.h> #include <cstdio> int main() { OggVorbis_File vf; FILE *f = fopen("audio.ogg", "rb"); if (f && ov_open(f, &vf, NULL, 0) == 0) { printf("Opened Ogg Vorbis file\n"); ov_clear(&vf); } return 0; }
Debug
Known issues
gotchaRequires linking against libogg as well
fix
Add find_package(Ogg) and target_link_libraries(... Ogg::ogg)
affects: all
Upgrade
Version history
1.3.7latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

libvorbis — pip install libvorbis · libregistry