[vlc-devel] [RFC PATCH 17/17] spdif: set "spdif" option true by default
remi at remlab.net
Wed Jul 27 10:23:13 CEST 2016
Le 2016-07-25 18:58, Jean-Baptiste Kempf a écrit :
> On 25 Jul, Rémi Denis-Courmont wrote :
>> What prevents S/PDIF by default on unmanaged audio outputs, such as
> Don't they need their own option?
Some outputs cannnot "negotiate" S/PDIF support. They just take it as
if it were a signed 16-bits PCM stream, and assume that the wiring is
accordingly. ALSA is among them. Those outputs need a
Other outputs negotiate S/PDIF at the API level, with either the link
layer (e.g. HDMI) or OS configuration as back-end. They need either no
option or a mostly redundant enabled-by-default option. WASAPI,
PulseAudio come to mind.
And the remaining ones just don't support S/PDIF at all.
So I think the notion of a global decoder-level option is doomed, since
there would be contradictory requirements for the default value.
More information about the vlc-devel