Commitb05f70a1Recorded10 Jul 2026Repositorysigil-audio

v0.12.0: (sigil audio sink) facade with WebAudio backend on wasm

Changed
 CHANGELOG.md | 23 +++++++++++++++++++++++
 package.sgl  |  2 +-
 2 files changed, 24 insertions(+), 1 deletion(-)
Diff
CHANGELOG.mdmodified
@@ -5,6 +5,29 @@ All notable changes to this project will be documented in this file.
5
The format is based on [Keep a Changelog](https://keepachangelog.com/),
6
and this project adheres to [Semantic Versioning](https://semver.org/).
7
+8
## [0.12.0] - 2026-07-10
+9
+10
### Added
+11
+12
- `(sigil audio sink)`, a portable streaming audio-sink facade that selects
+13
its backend with `cond-expand`. The native arm re-exports the sokol SPSC
+14
ring from `(sigil audio)`; the WebAssembly arm imports `(sigil browser
+15
audio-sink)` from the sigil-wasm-audio bridge package, so the same source
+16
compiles and runs on both native and WebAssembly. The facade adds
+17
WebAudio-shaped context lifecycle ops (`audio-context-open`,
+18
`audio-context-resume`, `audio-context-sample-rate`, `audio-context-state`)
+19
and a portable `make-float-buffer` re-export. On native the context ops are
+20
thin shims over sokol's single always-running device.
+21
+22
### Fixed
+23
+24
- WebAssembly builds that depend on sigil-audio for the `(sigil audio sink)`
+25
facade no longer fail to compile. The native audio C (sokol_audio, vendored
+26
libogg/libvorbis) has no wasm32-wasi backend, so its C-compilation steps are
+27
now gated out of wasm/wasi targets with `skip-on-wasm`; on wasm the facade
+28
delegates to the WebAudio bridge, so none of that C is needed. Native builds
+29
are byte-identical (the guard is false).
+30
31
## [0.11.0] - 2026-06-25
32
33
### Changed
package.sglmodified
@@ -20,7 +20,7 @@
20
(step ctx))))))
21
(package
22
name: "sigil-audio"
23
version: "0.11.0"
+23
version: "0.12.0"
24
sigil: "^0.17"
25
description: "Audio playback and streaming for Sigil"
26
url: "https://codeberg.org/sigil/sigil-audio"