Static buffers are claimed once when the first file is opened and is only released when PlayIt quits or when transient buffers are selected and playback is stopped. Transient buffers are claimed when a file is opened and released again when it's closed. If your OS supports them, file buffers are claimed as dynamic areas otherwise the memory is claimed from the RMA. Transient buffers allocated in the RMA may cause fragmentation.

Note: The taskmanager appears to have a bug that causes errors to be generated (Wimp_GetRectangle not called correctly) if dynamic areas are removed from within a callback when a task's redraw loop happens to be in progress. PlayIt cirumvents this by deferring the buffer release until it gets control via Wimp_Poll.

[ Parent ] [ Manual root ]