diff options
author | rim <rozhuk.im@gmail.com> | 2020-11-25 06:10:19 +0300 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-01-22 18:44:34 +0000 |
commit | adc32e25e061b8a9ca927e17ae5cbf88e394dd16 (patch) | |
tree | e5f6f816c6a3e2f4a2274db3f71da1c4f016dd39 /wscript | |
parent | 024e0cd4c1405a41edd6a8b302ec6b747bc60ea3 (diff) | |
download | mpv-adc32e25e061b8a9ca927e17ae5cbf88e394dd16.tar.bz2 mpv-adc32e25e061b8a9ca927e17ae5cbf88e394dd16.tar.xz |
ao_sndio: add this audio output again
Changes:
- rewrite to use new internal MPV API;
- code refactoring;
- fix buffers size calculations;
- buffer set to auto;
- reset() - clean/reinit device only after errors;
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -439,6 +439,12 @@ audio_output_features = [ 'desc': 'PipeWire audio output', 'func': check_pkg_config('libpipewire-0.3', '>= 0.3.0') }, { + 'name': '--sndio', + 'desc': 'sndio audio input/output', + 'func': check_statement('sndio.h', + 'struct sio_par par; sio_initpar(&par); const char *s = SIO_DEVANY', lib='sndio'), + 'default': 'disable' + }, { 'name': '--pulse', 'desc': 'PulseAudio audio output', 'func': check_pkg_config('libpulse', '>= 1.0') |