// AudioChannel returns the current audio channel. func (this *Player) AudioChannel() (int, error) { if this.ptr == nil { return 0, syscall.EINVAL } return int(C.libvlc_audio_get_channel(this.ptr)), checkError() }
// AudioChannel returns the current audio channel. func (this *Player) AudioChannel() (int, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return int(C.libvlc_audio_get_channel(this.ptr)), checkError() }