Miles Sound System SDK 7.2a

AIL_quick_play

The function AIL_quick_play starts the playback of an audio file previously loaded with AIL_quick_load.

S32 AIL_quick_play(
  HAUDIO audio,
  U32 loop_count
);

In Parameters

audio
specifies the audio handle that you wish to play.
loop_count
specifies the number of times to loop the audio handle (use 0 to loop forever).

Returns

Whether the function succeeded or not.

Discussion

Once this function is called, AIL_quick_status will return QSTAT_PLAYING until the audio playback is completed. You can play an audio handle multiple times.

Example files that use this function: Quick.C


Group: Quick Integration Services
Related Functions: AIL_quick_fss_load_and_play, AIL_quick_halt, AIL_quick_load_and_play, AIL_quick_status
Related Basic Types: HAUDIO, MILES_QUICK_STATUS, S32, U32
Related FAQs: How do I play a digital sound?

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