Miles Sound System SDK 7.2a

AIL_sample_buffer_count

The function AIL_sample_buffer_count returns the number of low-level streaming buffers associated with a sample.

S32 AIL_sample_buffer_count(
  HSAMPLE S
);

In Parameters

S
indicates the sample whose buffer count is to be returned.

Returns

The number of low-level streaming buffers associated with the HSAMPLE.

Discussion

All HSAMPLEs have at least 2 low-level streaming buffer pointers by default. Additional streaming buffer pointers may be allocated with AIL_set_sample_buffer_count.

Most applications should use high-level (HSTREAM) functions instead of low-level streaming.


Group: Digital Audio Services
Related Functions: AIL_load_sample_buffer, AIL_sample_buffer_available, AIL_set_sample_buffer_count
Related Basic Types: HSAMPLE, HSTREAM, S32

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