| Miles Sound System SDK 7.2a |
The function AIL_compress_ADPCM compresses the digital sound described by the info structure into an IMA ADPCM wave file image.
S32 AIL_compress_ADPCM( AILSOUNDINFO const *info, void * *wav, U32 *wavesize ); |
1, if the call was successful, or 0 if the call failed.
You must free the pointer returned in wav with AIL_mem_free_lock.
You can use the AIL_WAV_info function to automatically fill the input info structure.
Multichannel (> 2 channels) data is not supported.
The output wave file image is a standard IMA ADPCM wave file - you can write it directly to disk and any WAV file player will be able to play it.
Group:
Utility Services
Related Functions:
AIL_WAV_info, AIL_compress_ASI, AIL_decompress_ADPCM, AIL_mem_free_lock
Related Basic Types:
S32, U32, void *
Related Structures:
AILSOUNDINFO
Related FAQs:
I'm getting a glitch when I loop an MP3 or ADPCM file - what can I do?
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.