From 72aea5a12bbc07bec0d3cc5b1ce6c2485a0355c5 Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Sun, 14 Feb 2016 20:03:47 +0300 Subject: 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). --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') 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" ), -- cgit v1.2.3