[vlc-devel] [PATCH 2/2] core: add an option to select an audio-device

Rémi Denis-Courmont remi at remlab.net
Wed Mar 22 11:24:55 CET 2017


Le keskiviikkona 22. maaliskuuta 2017, 10.43.00 EET Thomas Guillem a écrit :
> On Wed, Mar 22, 2017, at 10:24, Rémi Denis-Courmont wrote:
> > We already have per-output options to do this. A global options makes
> > zero
> > sense, since the syntax depends on the back-end.
> 
> Like "--alsa-audio-device" ? There is no options like that for pulse,
> mmdevice or auhal.

I don´t know about MacOS.

MMDevice and PulseAudio store the per-application output device in system 
configuration. So then a VLC parameter would only makes sense for pinning the 
stream to a device. This is not easy to implement, and probably not very 
useful, if at all possible.

> Shoud I add them ? I prefer a global one personally.
> I don't see how the syntax depends on the back-end, you always pass a
> string.

Yeah and all programming languages have the same syntax: plain text! Sorry but 
I can only call bullshit on this.

Plus this breaks the (ALSA) enumeration callback.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/



More information about the vlc-devel mailing list