private RESULT SyncCallback(IntPtr c, CHANNEL_CALLBACKTYPE type, IntPtr a, IntPtr b)
{
if (Playing && playingintro && type == CHANNEL_CALLBACKTYPE.END)
{
system.playSound(CHANNELINDEX.REUSE, loop, false, ref channel);
channel.setVolume(volume);
playingintro = false;
}
return RESULT.OK;
}