NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_syssoundgetstate.nxc

This is an example of how to use the SysSoundGetState function along with the SoundGetStateType structure.

task main()
{
SysSoundGetState(sgsArgs);
if (sgsArgs.State == SOUND_STATE_IDLE) {/* do stuff */}
}