Miles Sound System SDK 7.2a

AIL_WAV_info

The function AIL_WAV_info retrieves the audio format information for the specified file image.

S32 AIL_WAV_info(
  void const * data,
  AILSOUNDINFO *info
);

In Parameters

data
points to a buffer containing the wave file image.

Out Parameters

info
is a pointer to an AILSOUNDINFO structure that will return the wave information.

Returns

1, if the call was successful, or 0 if the call failed.

Discussion

This function can be used to load the info structure that is needed in the AIL_compress_ADPCM and AIL_decompress_ADPCM functions.

The channel_mask member corresponds to the dwChannelMask member of the WAVEFORMATEXTENSIBLE header defined by Microsoft. See the How do I use multi-channel sound output in Miles? FAQ for more on multichannel content authoring and channel masks.


Group: Utility Services
Related Functions: AIL_compress_ADPCM, AIL_compress_ASI, AIL_decompress_ADPCM, AIL_process_digital_audio, AIL_set_sample_adpcm_block_size, AIL_set_sample_info, AIL_size_processed_digital_audio
Related Basic Types: S32, void const *
Related Structures: AILMIXINFO, AILSOUNDINFO
Related FAQs: How do I use multi-channel sound output in Miles?

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