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_build.py | |
parent | a6a358ce619e50ce6ca2307555a010d1c08341e0 (diff) | |
download | mpv-72aea5a12bbc07bec0d3cc5b1ce6c2485a0355c5.tar.bz2 mpv-72aea5a12bbc07bec0d3cc5b1ce6c2485a0355c5.tar.xz |
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_build.py')
-rw-r--r-- | wscript_build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py index b04a449e21..4cc35cad9e 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -138,6 +138,7 @@ def build(ctx): ( "audio/out/ao_lavc.c", "encoding" ), ( "audio/out/ao_null.c" ), ( "audio/out/ao_openal.c", "openal" ), + ( "audio/out/ao_opensles.c", "opensles" ), ( "audio/out/ao_oss.c", "oss-audio" ), ( "audio/out/ao_pcm.c" ), ( "audio/out/ao_pulse.c", "pulse" ), |