Exposing setPreferredDevice in AudioTrack
I have an implementation of vlc mediaplayer in my own app. I would like to change the audio output device based on some logic but I cant seem to expose the setPrefferedDevice method present in Androids AndroidTrack that the vlcPlayer uses. If this is possible to do could you please let me know how to do it or if you know another method I can change device. If not, would it be possible if you could expose this method in your implementation so I can use it.