Miles Sound System SDK 7.2a

AIL_sample_loop_count

The function AIL_sample_loop_count returns the number of loop iterations remaining for the given sample.

S32 AIL_sample_loop_count(
  HSAMPLE S
);

In Parameters

S
indicates the sample handle whose current loop count is to be returned.

Returns

The sample's current loop count. A value of 0 means that the sample is looping indefinitely, while a value of 1 means that the sample is on its last iteration, or is not looping at all.

Discussion

See AIL_set_sample_loop_count for more information.


Group: Digital Audio Services
Related Functions: AIL_sample_loop_block, AIL_set_sample_loop_count
Related Basic Types: HSAMPLE, S32

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