Miles Sound System SDK 7.2a

AIL_DLS_unload

The function AIL_DLS_unload unloads a previously loaded DLS file ID and makes the sample memory available for other DLS files.

void AIL_DLS_unload(
  HDLSDEVICE dls,
  HDLSFILEID dlsid
);

In Parameters

dls
indicates the DLS device to unload the DLS data from.
dlsid
indicates the file ID from AIL_DLS_load_file or AIL_DLS_load_memory to unload, or one of the MILES_DLS_UNLOAD constants.

Discussion

After freeing DLS memory from a hardware device, you may have to call AIL_DLS_compact before you can load new DLS data.

Always unload DLS memory passed to AIL_DLS_load_memory, with this function before freeing the memory itself.


Group: DLS Services
Related Functions: AIL_DLS_compact, AIL_DLS_load_file, AIL_DLS_load_memory
Related Basic Types: HDLSDEVICE, HDLSFILEID, MILES_DLS_UNLOAD, void

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.