Miles Sound System SDK 7.2a

AILSOUNDINFO

The structure AILSOUNDINFO specifies audio format details.

struct AILSOUNDINFO
{
  S32 format;
  void * data_ptr;
  U32 data_len;
  U32 rate;
  S32 bits;
  S32 channels;
  U32 channel_mask;
  U32 samples;
  U32 block_size;
};

In Members

format
Contains the format constant - MSS supported values are WAVE_FORMAT_PCM for standard, uncompressed wave files and WAVE_FORMAT_IMA_ADPCM for IMA ADPCM compressed wave files.
data_ptr
Contains a pointer to the beginning of the sound data in the wave file.
data_len
Contains the length of the sound data in the wave file.
rate
Contains the playback rate of the wave file.
bits
Contains the bit depth of the sound data (usually 4, 8, or 16).
channels
Contains the number of channels in the wave file (1 is mono, 2 is stereo).
channel_mask
Specifies the Microsoft WDM-compatible 32-bit channel mask for multichannel samples, or ~0U for traditional mono or stereo samples. See the How do I use multi-channel sound output in Miles? FAQ for more information on channel masks and multichannel content authoring.
samples
Contains the total number of samples in the wave file (used with ADPCM).
block_size
Contains the IMA ADPCM block size.


Group: Utility Services
Related Functions: AIL_WAV_info, AIL_compress_ADPCM, AIL_compress_ASI, AIL_decompress_ADPCM, AIL_process_digital_audio, AIL_set_sample_info, AIL_size_processed_digital_audio
Related Basic Types: S32, U32, void *
Related Structures: AILMIXINFO
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.