playerHeap

Overview

Demonstrates how to use a player heap for memory management.

How to Use

Description

Demonstrates how to use a player heap.

This demo loads and plays the required data (sequence data, bank data, wave sound data, and wave archive data) into all player heaps when playing sequence sounds and wave sounds.

nw::snd::SoundHeap is never used for this reason.

In addition, only the required waves are loaded into the player heap in the case of wave archives for which individual loading is turned on.

For details on the player heap, see Chapter 4, Memory Management, in the Sound Programmer's Manual.

Revision History

2010/11/29
Revised text to include the fact that since bank data, wave sound data, and wave archive data can now be loaded into the player heap that this demo now also uses a corresponding feature.
2010/09/27
Initial version.

CONFIDENTIAL