10k sounds, 64 mixer slots: how much work can a game audio engine skip?
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Sonic is a small Rust experiment by ssenthilnathan3 for scheduling 10,000 game sounds into 64 mixer slots without eagerly advancing every sound. It keeps distant sounds as virtual records that compute playback position from their start time, and it uses a spatial grid and an expiry heap to limit scheduler…