diff options
author | wm4 <wm4@nowhere> | 2013-12-02 00:21:59 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-02 00:21:59 +0100 |
commit | cb45ea371fb8ff9fd62026dcf060587864c56586 (patch) | |
tree | a204774be55e5103b6accf8cfae9e8c47050a2f0 /wscript | |
parent | dc582f2505d7583f414dcfa777371f986de381d3 (diff) | |
download | mpv-cb45ea371fb8ff9fd62026dcf060587864c56586.tar.bz2 mpv-cb45ea371fb8ff9fd62026dcf060587864c56586.tar.xz |
build: reject broken roaraudio sndio emulation
roaraudio has some sort of sndio emulation, but apparently its header
file is either blatantly broken, or an old version from the past. The
sio_onvol() function has the wrong return type (void instead of int),
and the SIO_DEVANY symbol is missing entirely. This broke the build,
because the configure check was successful anyway.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ audio_output_features = [ 'name': '--sndio', 'desc': 'sndio audio input/output', 'func': check_statement('sndio.h', - 'struct sio_par par; sio_initpar(&par)', lib='sndio') + 'struct sio_par par; sio_initpar(&par); const char *s = SIO_DEVANY', lib='sndio') }, { 'name': '--pulse', 'desc': 'PulseAudio audio output', |