public void Pause() { LibVlc.libvlc_media_player_pause(MediaPlayerHandle); if (playing) { paused ^= true; } }