Miles Sound System SDK 7.2a

AIL_active_sample_count

The function AIL_active_sample_count returns the number of currently-playing samples.

S32 AIL_active_sample_count(
  HDIGDRIVER dig
);

In Parameters

dig
specifies the digital audio driver whose active sample count is to be returned to the application.

Returns

The number of allocated sample handles whose status is SMP_PLAYING.

Discussion

This function provides a convenient alternative to calling AIL_sample_status from within a loop to determine if any samples are currently playing.

Example files that use this function: DIGPLAY.C


Group: Digital Audio Services
Related Functions: AIL_sample_3D_distances, AIL_sample_status, AIL_set_3D_rolloff_factor, AIL_set_sample_3D_distances
Related Basic Types: HDIGDRIVER, MILES_DIGITAL_STATUS, S32

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