Esempio n. 1
0
 public static void Dispose(VideoHandle handle)
 {
     handle.Video.Dispose();
     if (handle.PathToTempFileOnDisk != null)
     {
         if (File.Exists(handle.PathToTempFileOnDisk))
         {
             File.Delete(handle.PathToTempFileOnDisk);
         }
     }
 }
Esempio n. 2
0
 public static double GetDuration(VideoHandle handle)
 {
     return(handle.Video.Duration);
 }
Esempio n. 3
0
 public static void SetVolume(VideoHandle handle, float volume)
 {
     handle.Video.Volume = volume;
 }
Esempio n. 4
0
 public static float GetVolume(VideoHandle handle)
 {
     return(handle.Video.Volume);
 }
Esempio n. 5
0
 public static void SetPosition(VideoHandle handle, double position)
 {
     handle.Video.Position = position;
 }
Esempio n. 6
0
 public static double GetPosition(VideoHandle handle)
 {
     return(handle.Video.Position);
 }
Esempio n. 7
0
 public static void CopyPixels(VideoHandle handle, byte[] destination)
 {
     handle.Video.CopyPixels(destination);
 }
Esempio n. 8
0
 public static void Pause(VideoHandle handle)
 {
     handle.Video.Pause();
 }
Esempio n. 9
0
 public static void UpdateTexture(VideoHandle handle, System.Int32 textureHandle)
 {
     handle.Video.UpdateTexture(textureHandle);
 }
Esempio n. 10
0
 public static int GetRotationDegrees(VideoHandle handle)
 {
     return(handle.Video.RotationDegrees);
 }
Esempio n. 11
0
 public static void Play(VideoHandle handle)
 {
     handle.Video.Play();
 }
Esempio n. 12
0
 public static bool IsFrameAvailable(VideoHandle handle)
 {
     return(handle.Video.IsFrameAvaiable);
 }
Esempio n. 13
0
 public static int GetHeight(VideoHandle handle)
 {
     return(handle.Video.Height);
 }
Esempio n. 14
0
 public static int GetWidth(VideoHandle handle)
 {
     return(handle.Video.Width);
 }