diff options
author | Ilya Zhuravlev <whatever@xyz.is> | 2016-02-14 20:03:47 +0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-27 00:00:36 +0100 |
commit | 72aea5a12bbc07bec0d3cc5b1ce6c2485a0355c5 (patch) | |
tree | 6e17c879e793e45fb70c3a5d08256287fd82ea28 /wscript | |
parent | a6a358ce619e50ce6ca2307555a010d1c08341e0 (diff) |
ao: initial OpenSL ES support
OpenSL ES is used on Android. At the moment only stereo output is
supported. Two options are supported: 'frames-per-buffer' and
'sample-rate'. To get better latency the user of libmpv should pass
values obtained from AudioManager.getProperty(PROPERTY_OUTPUT_FRAMES_PER_BUFFER)
and AudioManager.getProperty(PROPERTY_OUTPUT_SAMPLE_RATE).
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -556,6 +556,10 @@ audio_output_features = [ 'func': check_pkg_config('openal', '>= 1.13'), 'default': 'disable' }, { + 'name': '--opensles', + 'desc': 'OpenSL ES audio output', + 'func': check_statement('SLES/OpenSLES.h', 'slCreateEngine', lib="OpenSLES"), + }, { 'name': '--alsa', 'desc': 'ALSA audio output', 'func': check_pkg_config('alsa', '>= 1.0.18'), |