// AudioDelay returns the current audio delay. func (this *Player) AudioDelay() (int64, error) { if this.ptr == nil { return 0, syscall.EINVAL } return int64(C.libvlc_audio_get_delay(this.ptr)), checkError() }
// AudioDelay returns the current audio delay. func (this *Player) AudioDelay() (int64, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return int64(C.libvlc_audio_get_delay(this.ptr)), checkError() }