Repository navigation
Audio 0.1.0 — initial development release
Reusable audio playback for V applications, built on miniaudio 0.11.25 and
stb_vorbis 1.22. This source release includes the native dependencies and examples.
- Decoded or streamed WAV/Ogg Vorbis voices, gain control, looping, restart/stop
and engine-wide pause. - Listener and sound positioning, plus a bounded reusable spatial-voice pool.
- Ordered cue admission that suppresses duplicate/older sequence numbers.
- A silent backend for control-logic tests, with standalone examples and
isolated validation in ordinary and strict new-compiler modes. - Explicit unknown-length metadata for streaming decoders and finite-input
checks before native calls.
Install with v install antono2.audio from
VPM, then follow the README and
BUILDING.md. The build instructions pin the tested V
revision and document the required -nocache option. Build the native archive
before importing antono2.audio.playback.
Original code, examples and the synthetic test tone use MIT. Vendored components
retain their upstream licenses and notices.
This is a development API: interfaces may change before 1.0. The package does
not provide recording, MP3/FLAC decoding, a full miniaudio binding or a public
seek API. Silent tests do not establish hardware-output quality or real-time
performance. Linux native playback was checked through an isolated loopback for
decoded WAV, decoded Ogg and streamed Ogg. macOS/Windows physical audio output
has not been verified.
Builds, five test files and the silent example passed in both compiler modes on
Ubuntu 24.04, macOS 15 and Windows 2025 (MinGW). These are compilation and
control-logic checks; macOS/Windows physical playback remains unverified.