mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
The render's sound streamer reserved both channels for the whole render and filled them a frame at a time, so a render's resident memory grew 12.8 KB a frame even with nothing to hear (Malloc Large's resident pages climbing while its size held: about 143 MB over the 13,200-frame control after its first minute). Each frame's samples now go to an unlinked scratch file (raea_io_home::scratch_file) and are read back once after the last frame, and only when something sounded: a silent render lets its bounce go unread. A full disk while writing it is said as one. raea-sys-mix's offline tests pass unchanged (the bounce reads back the same samples).