Skip to content

fix: guard audio getVolume when volumeKeyframeBuilder is missing - #190

Merged
dazzatronus merged 1 commit into
mainfrom
fix/audio-volume-keyframe-guard
Sep 25, 2026
Merged

dazzatronus merged 1 commit into
mainfrom
fix/audio-volume-keyframe-guard

Conversation

@dazzatronus

@dazzatronus dazzatronus commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Volume-keyframe construction can fail after audio has loaded, leaving playback without a builder. Fall back to the configured volume when the builder is missing, and rebuild it before applying volume to replacement audio.

Verify: npm run verify:ci passes on Node 22, including 2,084 tests.

@dazzatronus
dazzatronus force-pushed the fix/audio-volume-keyframe-guard branch from 17892b4 to ddced62 Compare September 25, 2026 01:21
@dazzatronus dazzatronus self-assigned this Sep 25, 2026
@dazzatronus
dazzatronus merged commit acc4bfe into main Sep 25, 2026
1 check passed
github-actions Bot pushed a commit that referenced this pull request Sep 25, 2026
## [2.22.5](v2.22.4...v2.22.5) (2026-09-25)

### Bug Fixes

* guard audio volume reads and rebuild keyframes on reload ([#190](#190)) ([acc4bfe](acc4bfe))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.22.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant