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