Miles Sound System SDK 7.2a

AIL_delay

The function AIL_delay suspends foreground program execution.

void AIL_delay(
  S32 intervals
);

In Parameters

intervals
specifies the number of 16 millisecond periods to wait.

Discussion

You can also use the AIL_ms_count function for other CPU-independent delays.

This function may be used to provide a CPU-independent delay for operations such as MIDI System Exclusive transmission via the AIL_send_sysex_message function, or other cases where the application needs to suspend processing for a brief amount of time.

This function is designed to emulate the delay of waiting for a vertical retrace without actually doing so. It uses the AIL_ms_count to delay exactly 16 milliseconds for every interval.


Group: Timer Services
Related Functions: AIL_ms_count, AIL_send_sysex_message, AIL_us_count
Related Basic Types: S32, void

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