Registry / other / opus
library1.5.2vcpkgunverified

Totally open, royalty-free, highly versatile audio codec for speech and music.

vcpkg install opus
INSTALL
IMPORT
SIG · OPUS
O
opus
othercppv1.5.2
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.

opus/opus.h
#include <opus/opus.h>

Create and destroy an Opus audio encoder

#include <opus/opus.h> #include <iostream> int main() { int err; OpusEncoder* enc = opus_encoder_create(48000, 2, OPUS_APPLICATION_AUDIO, &err); if (err == OPUS_OK) { std::cout << "Opus encoder created successfully\n"; opus_encoder_destroy(enc); } return 0; }
Debug
Known issues
gotchaOpus library must be linked; it is not header-only.
fix
Add target_link_libraries(your_target opus::opus).
affects: all
Upgrade
Version history
1.5.2latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

opus — pip install opus · libregistry