Unloading Bands

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 band associated with a segment are unloaded automatically when the segment ends. Otherwise you can manually unload a band in one of the following ways:

Note that the IDirectMusicPerformance::CloseDown method also unloads any remaining downloaded instruments.