Exemplo n.º 1
0
 /**
  * Stops the playback.
  */
 public void Stop()
 {
     LibVLC.PlayerStop(Handle, ex);
     Raise();
 }
Exemplo n.º 2
0
 /**
  * Pauses the playback.
  */
 public void Pause()
 {
     LibVLC.PlayerPause(Handle, ex);
     Raise();
 }
Exemplo n.º 3
0
 /**
  * Starts playing the selected media.
  */
 public void Play()
 {
     LibVLC.PlayerPlay(Handle, ex);
     Raise();
 }
Exemplo n.º 4
0
 internal override EventManagerHandle GetManager()
 {
     return(LibVLC.PlayerEventManager(Handle, null));
 }
Exemplo n.º 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();
 }
Exemplo n.º 6
0
Arquivo: ustring.cs Projeto: rdp/vlc-1
 /**
  * NonNullHandle.Destroy
  */
 protected override void Destroy()
 {
     LibVLC.Free(handle);
 }