// AudioDeviceType return the current audio device type. // Device type describes something like character of output sound - stereo // sound, 2.1, 5.1 etc func (this *Player) AudioDeviceType() (AudioDevice, error) { if this.ptr == nil { return 0, syscall.EINVAL } return AudioDevice(C.libvlc_audio_output_get_device_type(this.ptr)), checkError() }
// AudioDeviceType return the current audio device type. // Device type describes something like character of output sound - stereo // sound, 2.1, 5.1 etc func (this *Player) AudioDeviceType() (AudioDevice, error) { if this.ptr == nil { return 0, &VLCError{"Player is nil"} } return AudioDevice(C.libvlc_audio_output_get_device_type(this.ptr)), checkError() }