Home | History | Annotate | only in /external/chromium_org/third_party/webrtc/examples/android/opensl_loopback
Up to higher level directory
NameDateSize
AndroidManifest.xml05-Aug-2015992
build.xml05-Aug-20153.8K
fake_audio_device_buffer.cc05-Aug-20153.2K
fake_audio_device_buffer.h05-Aug-20152.4K
jni/05-Aug-2015
project.properties05-Aug-2015601
README05-Aug-20151,017
res/05-Aug-2015
src/05-Aug-2015

README

      1 This directory contains an app for measuring the total delay from the native
      2 OpenSL implementation. Note that it just loops audio back from mic to speakers.
      3 
      4 Prerequisites:
      5 - Make sure gclient is checking out tools necessary to target Android: your
      6   .gclient file should contain a line like:
      7   target_os = ['android']
      8   Make sure to re-run gclient sync after adding this to download the tools.
      9 - Env vars need to be set up to target Android; easiest way to do this is to run
     10   (from the libjingle trunk directory):
     11   . ./build/android/envsetup.sh
     12   Note that this clobbers any previously-set $GYP_DEFINES so it must be done
     13   before the next item.
     14 - Set up webrtc-related GYP variables:
     15   export GYP_DEFINES="$GYP_DEFINES java_home=</path/to/JDK>
     16                       enable_android_opensl=1"
     17 - Finally, run "gclient runhooks" to generate Android-targeting .ninja files.
     18 
     19 Example of building & using the app:
     20 
     21 cd <path/to/repository>/trunk
     22 ninja -C out/Debug OpenSlDemo
     23 adb install -r out/Debug/OpenSlDemo-debug.apk