func (p *Player) IsPlaying() bool { if p.player == nil { return false } return C.libvlc_media_player_is_playing(p.player) != 0 }
// IsPlaying returns whether or not this player is currently playing. func (this *Player) IsPlaying() bool { if this.ptr == nil { return false } return C.libvlc_media_player_is_playing(this.ptr) != 0 }