public void SetFullScreen(bool istrue) { LibVlcAPI.libvlc_set_fullscreen(libvlc_media_player_, istrue ? 1 : 0); }
public void SetVolume(int volume) { LibVlcAPI.libvlc_audio_set_volume(libvlc_media_player_, volume); }
public int GetVolume() { return(LibVlcAPI.libvlc_audio_get_volume(libvlc_media_player_)); }
public void SetPlayTime(double seekTime) { LibVlcAPI.libvlc_media_player_set_time(libvlc_media_player_, (Int64)(seekTime * 1000)); }
// 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); }
public string Version() { return(LibVlcAPI.libvlc_get_version()); }