[MPlayer-dev-eng] sndio audio output
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Dec 11 09:12:57 CET 2013
On 11.12.2013, at 02:00, Brad Smith <brad at comstyle.com> wrote:
> On 10/12/13 5:25 PM, Alexandre Ratchov wrote:
>> +echocheck "sndio audio"
>> +if test "$_sndio" = auto ; then
>> + _sndio=no
>> + statement_check sndio.h 'sio_open(SIO_DEVANY, SIO_PLAY, 0)' -lsndio && _sndio=yes
>> +fi
>> +if test "$_sndio" = yes ; then
>> + def_sndio='#define CONFIG_SNDIO_AUDIO 1'
>> + aomodules="sndio $aomodules"
>> + extra_ldflags="$extra_ldflags -lsndio"
>> +else
>> + def_sndio='#undef CONFIG_SNDIO_AUDIO'
>> + noaomodules="sndio $noaomodules"
>> +fi
>> +echores "$_sndio"
>> +
>> +
>
> Looking at all the backends tests I noticed most use libs_mplayer but
> ALSA uses extra_ldflags. Which one is preferred?
ALSA is also used as input, thus by MEncoder.
libs_mplayer is the right one when only MPlayer uses it.
More information about the MPlayer-dev-eng
mailing list