// Pause pauses playback. // Has no effect if no media is loaded. func (this *Player) Pause() (err error) { if this.ptr == nil { return syscall.EINVAL } C.libvlc_media_player_pause(this.ptr) return }
// Pause pauses playback. // Has no effect if no media is loaded. func (this *Player) Pause() (err error) { if this.ptr == nil { return &VLCError{"Player is nil"} } C.libvlc_media_player_pause(this.ptr) return }