private void MediaStoped(ref libvlc_event_t libvlc_event, IntPtr userData)
 {
     MediaStopedEvent?.Invoke(this, new EventArgs());
 }
 private void MediaPos(ref libvlc_event_t libvlc_event, IntPtr userData)
 {
     MediaPosEvent?.Invoke(libvlc_event.MediaDescriptor.media_duration_changed.new_duration);
 }
 private void MediaPlaying(ref libvlc_event_t libvlc_event, IntPtr userData)
 {
     MediaPlayEvent?.Invoke(this, new EventArgs());
 }