Miles Sound System SDK 7.2a

AIL_set_sample_adpcm_block_size

The function AIL_set_sample_adpcm_block_size sets the block size for the IMA ADPCM data.

void AIL_set_sample_adpcm_block_size(
  HSAMPLE S,
  U32 block_size
);

In Parameters

S
indicates the sample whose block size is to be set.
block_size
indicates the ADPCM block size.

Discussion

This function is used when playing raw IMA ADPCM data. The AIL_WAV_info function can return the block size, or it can be obtained from the "alignment" field of a WAVEFORMAT structure.

The ADPCM block size controls the sample granularity of ADPCM data.


Group: Digital Audio Services
Related Functions: AIL_WAV_info, AIL_set_sample_address
Related Basic Types: HSAMPLE, U32, void

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