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