Skip to content

Commit 15421dd

Browse files
committed
[update] features doc.
1 parent 1b10b95 commit 15421dd

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

docs/features.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ title: "Cargo Features Overview"
33
document_id: "features-2025-11-17"
44
status: "living"
55
created: "2025-11-17T23:59:00Z"
6-
last_updated: "2026-02-06T23:33:29Z"
7-
version: "0.1.14"
6+
last_updated: "2026-02-10T00:00:00Z"
7+
version: "0.1.15"
88
engine_workspace_version: "2023.1.30"
99
wgpu_version: "26.0.1"
1010
shader_backend_default: "naga"
1111
winit_version: "0.29.10"
12-
repo_commit: "d9ae52363df035954079bf2ebdc194d18281862d"
12+
repo_commit: "fa36b760348f7b4a924220885fa88684bded03f6"
1313
owners: ["lambda-sh"]
1414
reviewers: ["engine", "rendering"]
1515
tags: ["guide", "features", "validation", "cargo", "audio", "physics"]
@@ -62,7 +62,7 @@ Rendering backends
6262
Audio
6363
- `audio` (umbrella, disabled by default): enables audio support by composing
6464
granular audio features. This umbrella includes `audio-output-device` and
65-
`audio-sound-buffer`.
65+
`audio-sound-buffer`, and `audio-playback`.
6666
- `audio-output-device` (granular, disabled by default): enables audio output
6767
device enumeration and callback-based audio output via `lambda::audio`. This
6868
feature enables `lambda-rs-platform/audio-device` internally. Expected
@@ -73,6 +73,11 @@ Audio
7373
`lambda::audio::SoundBuffer` loading APIs by composing the granular decode
7474
features below. This umbrella has no runtime cost unless a sound file is
7575
decoded and loaded into memory.
76+
- `audio-playback` (granular, disabled by default): enables single-sound
77+
playback through an `AudioContext` with basic transport controls
78+
(`SoundInstance::{play,pause,stop}`), state queries, and looping. This
79+
feature composes `audio-output-device` and `audio-sound-buffer` and has no
80+
runtime cost unless an `AudioContext` is built and kept alive.
7681
- `audio-sound-buffer-wav` (granular, disabled by default): enables WAV decode
7782
support for `SoundBuffer`. This feature enables
7883
`lambda-rs-platform/audio-decode-wav` internally. Runtime cost is incurred at
@@ -168,6 +173,8 @@ Physics
168173
depend on `rapier2d` directly via this crate.
169174

170175
## Changelog
176+
- 0.1.15 (2026-02-10): Document `audio-playback` in `lambda-rs` and update
177+
metadata.
171178
- 0.1.14 (2026-02-06): Document 2D physics feature flags in `lambda-rs` and
172179
`lambda-rs-platform`.
173180
- 0.1.13 (2026-02-02): Document `SoundBuffer` decode features for WAV and OGG

0 commit comments

Comments
 (0)