| Miles Sound System SDK 7.2a |
The function AIL_disable_interrupts disables hardware interrupts (IRQs).
U32 AIL_disable_interrupts(); |
A special value which may be passed to AIL_restore_interrupts to restore the previous interrupt flag state. This value represents the CPU flags word, not a simple Boolean interrupt state value.
This is a DOS-only function.
This function is used internally by the MSS system, and provides a standardized interrupt-disabling function which is independent of the runtime environment in use. Most applications will not need to use AIL_disable_interrupts, as long as they use the MSS API functions to manipulate sound effect and sequence data. It is important to preserve the returned flags value for later use with AIL_restore_interrupts (below), when interrupts no longer need to be disabled.
Disabling interrupts for more than a few milliseconds may cause dropouts and other undesirable effects with digitized sound output, and may also result in music tempo slowdowns.
Group:
Low-Level DOS Support Services
Related Functions:
AIL_disable_interrupts, AIL_restore_interrupts
Related Basic Types:
U32
For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.