Intrinsic-143 GetSoundStatus

Top  Previous  Next

143: Status:= GetSoundStatus;


This intrinsic returns the status for any sound still playing that was initiated by the PlaySoundData intrinsic. The bottom 8 bits indicate the number of sound buffers waiting to be played. This can be used to programmatically wait for a sound to finish playing.


The remaining upper bits are reserved for future use.