Provide bounded Windows PCM playback with owned samples and voice lifetimes #18

Closed
opened 2026-12-02 21:37:17 +00:00 by faumaray · 1 comment
Owner

Our Windows x64 demo will play short original PCM cues and a looping ambience. The public modules, sources and standalone tests at 7b0fea6 have no sound output or voice lifetime API. Open and closed issues contained no matching request.

Would the maintainers consider an optional Windows audio output interface? The reusable part we need is playback of owned sample data, bounded simultaneous voices, stopping a voice or a loop and reliable teardown. Device absence should produce a recoverable status so callers can continue. Game event mapping, priorities, volumes and the sound assets remain with the consumer.

Our replacement check will release the caller's sample buffer after submission, play and stop a looping voice, exercise the voice cap, and close or re-open the backend while a cue is active. Both a working device and a missing device should leave the application's main loop responsive. Consumer's asset and sound requirements

Our Windows x64 demo will play short original PCM cues and a looping ambience. The public modules, sources and standalone tests at [7b0fea6](https://git.faumaray.com/Void/Library/src/commit/7b0fea6095f603f9e1904f66dfdc7752f4be4792) have no sound output or voice lifetime API. Open and closed issues contained no matching request. Would the maintainers consider an optional Windows audio output interface? The reusable part we need is playback of owned sample data, bounded simultaneous voices, stopping a voice or a loop and reliable teardown. Device absence should produce a recoverable status so callers can continue. Game event mapping, priorities, volumes and the sound assets remain with the consumer. Our replacement check will release the caller's sample buffer after submission, play and stop a looping voice, exercise the voice cap, and close or re-open the backend while a cue is active. Both a working device and a missing device should leave the application's main loop responsive. [Consumer's asset and sound requirements](https://git.faumaray.com/Lagg1ng/stoneheart_at_home/src/branch/chore/plans/docs/art/demo-inventory.md)
Author
Owner

Implemented on branch issue/18-windows-pcm-playback (local commit 523fef5).

Void::System::AudioDevice added: owned PCM samples, bounded voices, looping playback, explicit stop/close teardown and recoverable device absence, with a Win32 waveOut backend and a tested silent backend.

Merge request: #34

Implemented on branch `issue/18-windows-pcm-playback` (local commit `523fef5`). `Void::System::AudioDevice` added: owned PCM samples, bounded voices, looping playback, explicit stop/close teardown and recoverable device absence, with a Win32 waveOut backend and a tested silent backend. Merge request: https://git.faumaray.com/Void/Library/pulls/34
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Void/Library#18