Registry / other / libcanberra

libcanberra

JSON →
library0.30vcpkgunverified

An implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops

vcpkg install libcanberra
INSTALL
IMPORT
SIG · LIBCANBERRA
L
libcanberra
othercppv0.30
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.

canberra.h
#include <canberra.h>

Play a system warning sound

#include <canberra.h> #include <stdio.h> int main() { ca_context *ctx; ca_context_create(&ctx); ca_context_play(ctx, 0, CA_PROP_EVENT_ID, "dialog-warning", NULL); ca_context_destroy(ctx); return 0; }
Debug
Known issues
gotchaRequires a running sound system (PulseAudio, ALSA, etc.)
fix
Ensure sound system is installed and running on the target system
affects: *
Upgrade
Version history
0.30latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

libcanberra — pip install libcanberra · libregistry