CIGAL Reference Manual, Chapter 6 (RealTime): r_swait
usage: r_swait
Waits for active asynchronous sound output to terminate. Sound output must have been previously started by a call to [R_SOUND][6] (or [SOUND][2]). If there is no active sound being played this command returns immediately.
See Also:
R_SOUND(6),
SOUND(2)