Page 1 of 1

How to get the selected audio output ?

Posted: 01 Feb 2014 19:52
by milink
Hi !
I develop a little media player with libVLC. I found how to change the audio output, but I don't see which function should I use to get the current audio output.
Thanks if you can help me... :)

Re: How to get the selected audio output ?

Posted: 03 Feb 2014 20:27
by Rémi Denis-Courmont
libvlc_audio_output_set() obviously.

Re: How to get the selected audio output ?

Posted: 03 Feb 2014 21:27
by milink
But this function set the output (if I correctly understand...). I would like to get the output !
If this function is used for this, can you show me how I can use it, please ?

Re: How to get the selected audio output ?

Posted: 03 Feb 2014 21:37
by Rémi Denis-Courmont
If you set the audio output, then you know what you set it to. If you did not set it, then the value is undefined, so you cannot "get" it.

Re: How to get the selected audio output ?

Posted: 09 Feb 2014 16:06
by milink
Thanks !