webrtc/modules/audio_device/android
Mirko Bonadei f641687a80 Forward fixing WebRTC to compile with Android NDK r16.
Starting from Chromium Roll [1], WebRTC should start to use NDK r16
for Android builds. The roll cannot be completed because of three
compilation errors:

../../sdk/android/src/jni/pc/androidnetworkmonitor.cc:15:9: error: 'RTLD_NOLOAD' macro redefined [-Werror,-Wmacro-redefined]
        ^
../../third_party/android_tools/ndk/sysroot/usr/include/dlfcn.h:62:9: note: previous definition is here

../../modules/audio_device/android/audio_record_jni.cc:251:41: error: format specifies type 'long long' but the argument has type 'jlong' (aka 'long') [-Werror,-Wformat]
  ALOGD("direct buffer capacity: %lld", capacity);

../../modules/audio_device/android/audio_track_jni.cc:229:41: error: format specifies type 'long long' but the argument has type 'jlong' (aka 'long') [-Werror,-Wformat]
  ALOGD("direct buffer capacity: %lld", capacity);

This CL forward fixes these errors in order to fix the Chromium Roll
into WebRTC.

[1] - https://webrtc-review.googlesource.com/c/src/+/37540

Bug: webrtc:8710
Change-Id: I5bc64e73919eee7c9e965a442a386b5e1897b56a
Reviewed-on: https://webrtc-review.googlesource.com/37640
Reviewed-by: Henrik Andreassson <henrika@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21510}
2018-01-08 07:27:32 +00:00
..
java/src/org/webrtc/voiceengine Check keepAlive before calling nativeDataIsRecording (reland) 2018-01-04 10:05:58 +00:00
audio_common.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_device_template.h Removes usage of AGC APIs in the ADM. 2017-12-13 16:32:21 +00:00
audio_device_unittest.cc Disables AudioDeviceTest.RunPlayoutAndRecordingInFullDuplex on Android 2017-10-06 10:19:44 +00:00
audio_manager_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_manager.cc Android: Remove GetThreadInfo() 2018-01-02 10:32:21 +00:00
audio_manager.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_record_jni.cc Forward fixing WebRTC to compile with Android NDK r16. 2018-01-08 07:27:32 +00:00
audio_record_jni.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_track_jni.cc Forward fixing WebRTC to compile with Android NDK r16. 2018-01-08 07:27:32 +00:00
audio_track_jni.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
build_info.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
build_info.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ensure_initialized.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
ensure_initialized.h
opensles_common.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
opensles_common.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
opensles_player.cc Android: Remove GetThreadInfo() 2018-01-02 10:32:21 +00:00
opensles_player.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
opensles_recorder.cc Android: Remove GetThreadInfo() 2018-01-02 10:32:21 +00:00
opensles_recorder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00