Beispiel #1
0
 /**
  * Stops the playback.
  */
 public void Stop()
 {
     LibVLC.PlayerStop(Handle, ex);
     Raise();
 }
Beispiel #2
0
 /**
  * Pauses the playback.
  */
 public void Pause()
 {
     LibVLC.PlayerPause(Handle, ex);
     Raise();
 }
Beispiel #3
0
 /**
  * Starts playing the selected media.
  */
 public void Play()
 {
     LibVLC.PlayerPlay(Handle, ex);
     Raise();
 }
Beispiel #4
0
 internal override EventManagerHandle GetManager()
 {
     return(LibVLC.PlayerEventManager(Handle, null));
 }
Beispiel #5
0
 /**
  * Creates a player object for a given a media.
  *
  * @param media media object
  */
 public Player(Media media)
 {
     this.media = media;
     handle     = LibVLC.PlayerCreateFromMedia(media.Handle, ex);
     Raise();
 }
Beispiel #6
0
 /**
  * NonNullHandle.Destroy
  */
 protected override void Destroy()
 {
     LibVLC.Free(handle);
 }