| Miles Sound System SDK 7.2a |
The function AIL_compress_ASI compresses a digital sound with an ASI encoder capable of writing the file type described by the filename_ext parameter.
S32 AIL_compress_ASI( AILSOUNDINFO const *info, char const * filename_ext, void * *outdata, U32 *outsize, AILLENGTHYCB callback ); |
1, if the call was successful, or 0 if the call failed.
Note that the only MSS ASI encoder currently available is the MSS MPEG Layer 3 encoder, and it must be purchased separately (in addition, it isn't redistributable). We plan to have more audio ASI encoders soon (including a Bink audio codec).
Multichannel (> 2 channels) data is not supported.
You must free the pointer returned in outdata with AIL_mem_free_lock.
You can use the AIL_WAV_info function to automatically fill the input info structure.
Compressing with the MSS MPEG Layer 3 encoder is very slow!
Group:
Utility Services
Related Functions:
AILLENGTHYCB, AIL_WAV_info, AIL_compress_ADPCM, AIL_decompress_ASI, AIL_mem_free_lock
Related Basic Types:
S32, U32, char const *, void *
Related Structures:
AILSOUNDINFO
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.