예제 #1
0
 public static void ReleaseSound(FMODSound ActiveSound)
 {
     if (ActiveSound != null)
     {
         ActiveSound.Release();
     }
 }
예제 #2
0
        public UInt32 GetPosition(FMODSound ActiveSound)
        {
            if (ActiveSound == null || !SoundSystem.AudioFound)
            {
                return(0);
            }

            UInt32 Position = 0;

            ActiveSound.ActiveChannel.getPosition(ref Position, TIMEUNIT.MS);
            return(Position);
        }