Repository navigation
v0.5-Pre-Alpha
Pre-releaseScripts can now load and play MP3, AAC-LC (.aac ADTS / .m4a MP4), FLAC, and mono/stereo OGG Opus through the existing audio APIs. WAV and OGG Vorbis remain supported; .oga and .opus aliases are recognized. Decoders are bundled in Rust, with no FFmpeg or system codec requirement for players.
Decode packets within the existing PCM limit, reject invalid or changing stream layouts, normalize lossy peaks to the mixer's range, and honor Opus header gain, pre-skip, and end trimming. Update audio importer version, editor file icons, documentation, and bundled dependency notices.
This change builds on the loaded-audio API merged into main in #25.
Companion website documentation: Rustic-Game-Engine/docs#15
Validation:
- All 164 tests across engine-assets, engine-core, engine-scripting, and engine-play passed.
- Fixture tests cover MP3, AAC ADTS, AAC M4A, FLAC, OGG Vorbis, OGG Opus, extension aliases, malformed input, Opus corruption, PCM limits, and duration trimming.
- Runtime integration loads, plays, mixes, and unloads every codec through Lua.
- Formatting and Clippy for assets/play with warnings denied passed.
- cargo-deny 0.20.2: advisories, licenses, bans, and sources passed.
- Companion documentation lint, build, TypeScript check, and audit passed.
GitHub CI passed all eight checks, including the Windows installer build, Windows and Linux engine checks, language adapter conformance, and dependency security/licenses.