MegaMan.Engine.Music.SyncCallback C# (CSharp) Method

SyncCallback() private method

private SyncCallback ( IntPtr c, CHANNEL_CALLBACKTYPE type, IntPtr a, IntPtr b ) : RESULT
c System.IntPtr
type CHANNEL_CALLBACKTYPE
a System.IntPtr
b System.IntPtr
return RESULT
        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;
        }