public static void Update() { uint position; s_Channel.getPosition(out position, TIMEUNIT.MS); Sound sound; s_Channel.getCurrentSound(out sound); uint length; sound.getLength(out length, TIMEUNIT.MS); if (position >= length) { NextTrack(); } s_Equalizer.Update(); }