Closed kevkha closed 9 years ago
https://github.com/RSATom/WebChimera/wiki/QML-API#vlcaudio
VlcAudio.channel
is intended for switching between mono, stereo etc. modes
VlcAudio.track
is exactly for switching audio tracks.
What value do you get with vlcPlayer.audio.count
when your file is playing?
vlcPlayer.audio.count
returns 3 which is right.
I attempted to change to track 2 like so VlcAudio.track = 2
but it didn't work.
This one works, vlcPlayer.audio.track = 2
Thanks for leading me to the right direction!
Yes VlcAudio
is just type value of which vlcPlayer.audio
returns. I.e. you can use VlcAudio
directly only to access enum values (VlcAdudio.Stereo
for example). In other cases you should get it via vlcPlayer property. Same valid for all other types mentioned in documentation.
btw, when you used VlcAudio.track = 2
you should have got error in application output window in QtCreator.
My VOB karaoke video has two audio tracks as shown. VlcAudio.track and VlcAudio.channel does not seem to be for this feature. Am I right? I would like to toggle Track 1 and Track 2.