DirectX SDK |
Bands take up memory, so they should be unloaded when they are no longer in use. If you have enabled automatic downloading of bands, the bands associated with a segment are unloaded automatically when the segment ends. Otherwise, you can manually unload a band in one of the following ways:
The IDirectMusicPerformance::CloseDown method also unloads any remaining downloaded instruments.
Bands take up memory, so they should be unloaded when they are no longer in use. If you have enabled automatic downloading of bands, the bands associated with a segment are unloaded automatically when the segment ends. Otherwise, you can manually unload a band by using the DirectMusicBand.Unload method.
The DirectMusicPerformance.CloseDown method also unloads any remaining downloaded instruments.