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