public static void ReleaseSound(FMODSound ActiveSound) { if (ActiveSound != null) { ActiveSound.Release(); } }
public UInt32 GetPosition(FMODSound ActiveSound) { if (ActiveSound == null || !SoundSystem.AudioFound) { return(0); } UInt32 Position = 0; ActiveSound.ActiveChannel.getPosition(ref Position, TIMEUNIT.MS); return(Position); }