| Miles Sound System SDK 7.2a |
The function AIL_decompress_ADPCM decompresses the IMA ADPCM digital sound described by the info structure into a standard PCM wave file image.
S32 AIL_decompress_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.
Multichannel (> 2 channels) data is not supported.
You can use the AIL_WAV_info function to automatically fill the input info structure.
The output wave file image is a standard PCM 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_ADPCM, AIL_decompress_ASI, AIL_mem_free_lock
Related Basic Types:
S32, U32, void *
Related Structures:
AILSOUNDINFO
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.