| Miles Sound System SDK 7.2a |
The function AIL_compress_DLS compresses a DLS file with either IMA ADPCM compression or with an ASI encoder specified by the compress_ext parameter.
S32 AIL_compress_DLS( void const * dls, char const * compression_ext, void * *mls, U32 *mlssize, AILLENGTHYCB callback ); |
1, if the call was successful, or 0 if the call failed.
You must free the pointer returned in mls with AIL_mem_free_lock.
Depending on the number of wave samples to compress, this function can take up to 30 seconds to return.
Compressing a DLS file using the MPEG Layer 3 encoder takes a long time.
You must decompress DLS files with the AIL_extract_DLS function before passing them to AIL_DLS_load_file.
Compressed DLS file usually have an ".MLS" extension.
Group:
Utility Services
Related Functions:
AILLENGTHYCB, AIL_DLS_load_file, AIL_extract_DLS, AIL_find_DLS, AIL_mem_free_lock, AIL_merge_DLS_with_XMI
Related Basic Types:
S32, U32, char const *, void *, void const *
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.