示例#1
0
 public void SetFullScreen(bool istrue)
 {
     LibVlcAPI.libvlc_set_fullscreen(libvlc_media_player_, istrue ? 1 : 0);
 }
示例#2
0
 public void SetVolume(int volume)
 {
     LibVlcAPI.libvlc_audio_set_volume(libvlc_media_player_, volume);
 }
示例#3
0
 public int GetVolume()
 {
     return(LibVlcAPI.libvlc_audio_get_volume(libvlc_media_player_));
 }
示例#4
0
 public void SetPlayTime(double seekTime)
 {
     LibVlcAPI.libvlc_media_player_set_time(libvlc_media_player_, (Int64)(seekTime * 1000));
 }
示例#5
0
 //  public void FastForward()
 // {
 //    if (libvlc_media_player_ != IntPtr.Zero)
 //   {
 //      LibVlcAPI.libvlc_media_player_fastforward(libvlc_media_player_);
 // }
 // }
 public double GetPlayTime()
 {
     return(LibVlcAPI.libvlc_media_player_get_time(libvlc_media_player_) / 1000.0);
 }
示例#6
0
 public string Version()
 {
     return(LibVlcAPI.libvlc_get_version());
 }