Registry / other / pulseaudio

pulseaudio

JSON →
library17.0vcpkgunverified

PulseAudio is a sound server providing advanced audio capabilities on Linux and other Unix-like systems.

vcpkg install pulseaudio
INSTALL
IMPORT
SIG · PULSEAUDIO
P
pulseaudio
othercppv17.0
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.

pulse/simple.h
#include <pulse/simple.h>

Play audio using PulseAudio simple API

#include <pulse/simple.h> #include <pulse/error.h> #include <stdio.h> int main() { pa_simple *s = pa_simple_new(NULL, "test", PA_STREAM_PLAYBACK, NULL, "playback", NULL, NULL, NULL, NULL); if (!s) { fprintf(stderr, "Error: %s\n", pa_strerror(pa_context_errno(pa_simple_get_context(s)))); return 1; } const char *data = "test audio data"; pa_simple_write(s, data, strlen(data), NULL); pa_simple_free(s); return 0; }
Debug
Known issues
gotchaPulseAudio is a system service; the library requires a running PulseAudio server.
fix
Ensure PulseAudio is installed and running (pulseaudio --start) before using the library.
affects: *
Upgrade
Version history
17.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Amazon
1
Resources

No resource links recorded.

pulseaudio — pip install pulseaudio · libregistry