// SetAudioChannel sets the current audio channel. func (this *Player) SetAudioChannel(channel int) (err error) { if this.ptr == nil { return syscall.EINVAL } if C.libvlc_audio_set_channel(this.ptr, C.int(channel)) != 0 { err = checkError() } return }
// SetAudioChannel sets the current audio channel. func (this *Player) SetAudioChannel(channel int) (err error) { if this.ptr == nil { return &VLCError{"Player is nil"} } if C.libvlc_audio_set_channel(this.ptr, C.int(channel)) != 0 { err = checkError() } return }