diff options
author | rim <rozhuk.im@gmail.com> | 2020-11-24 04:22:40 +0300 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-03-15 12:42:35 +0100 |
commit | 1b2e5137e04bf4990713714b4925fbdd30a9d6c9 (patch) | |
tree | 711fe3a2d49934e8f57233d30658a4cf9e908917 /wscript | |
parent | e79e455a360381a4db1b790a63d4bb3131a9dabc (diff) | |
download | mpv-1b2e5137e04bf4990713714b4925fbdd30a9d6c9.tar.bz2 mpv-1b2e5137e04bf4990713714b4925fbdd30a9d6c9.tar.xz |
ao_oss: add this audio output again
Changes:
- code refactored;
- mixer options removed;
- new mpv sound API used;
- add sound devices detect (mpv --audio-device=help will show all available devices);
- only OSSv4 supported now;
Tested on FreeBSD 12.2 amd64.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -422,6 +422,11 @@ audio_output_features = [ 'deps': 'sdl2', 'func': check_true, }, { + 'name': '--oss-audio', + 'desc': 'OSSv4 audio output', + 'func': check_statement(['sys/soundcard.h'], 'int x = SNDCTL_DSP_SETPLAYVOL'), + 'deps': 'posix && gpl', + }, { 'name': '--pulse', 'desc': 'PulseAudio audio output', 'func': check_pkg_config('libpulse', '>= 1.0') |