2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("../../build/webrtc.gni")
|
|
|
|
|
|
|
|
|
|
source_set("utility") {
|
|
|
|
|
sources = [
|
2015-11-04 08:31:52 +01:00
|
|
|
"include/audio_frame_operations.h",
|
|
|
|
|
"include/file_player.h",
|
|
|
|
|
"include/file_recorder.h",
|
|
|
|
|
"include/helpers_android.h",
|
|
|
|
|
"include/jvm_android.h",
|
|
|
|
|
"include/process_thread.h",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/audio_frame_operations.cc",
|
|
|
|
|
"source/coder.cc",
|
|
|
|
|
"source/coder.h",
|
|
|
|
|
"source/file_player_impl.cc",
|
|
|
|
|
"source/file_player_impl.h",
|
|
|
|
|
"source/file_recorder_impl.cc",
|
|
|
|
|
"source/file_recorder_impl.h",
|
|
|
|
|
"source/helpers_android.cc",
|
Adding support for OpenSL ES output in native WebRTC
BUG=4573,2982,2175,3590
TEST=modules_unittests --gtest_filter=AudioDevice*, AppRTCDemo and WebRTCDemo
Summary:
- Removes dependency of the 'enable_android_opensl' compiler flag.
Instead, OpenSL ES is always supported, and will enabled for devices that
supports low-latency output.
- WebRTC no longer supports OpenSL ES for the input/recording side.
- Removes old code and demos using OpenSL ES for audio input.
- Improves accuracy of total delay estimates (better AEC performance).
- Reduces roundtrip audio latency; especially when OpenSL can be used.
Performance verified on: Nexus 5, 6, 7 and 9. Samsung Galaxy S4 and S6.
Android One device.
R=magjed@webrtc.org, phoglund@webrtc.org, tommi@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/51759004
Cr-Commit-Position: refs/heads/master@{#9208}
2015-05-18 16:49:16 +02:00
|
|
|
"source/jvm_android.cc",
|
2014-06-23 19:21:07 +00:00
|
|
|
"source/process_thread_impl.cc",
|
|
|
|
|
"source/process_thread_impl.h",
|
|
|
|
|
]
|
|
|
|
|
|
2014-09-28 17:37:22 +00:00
|
|
|
configs += [ "../..:common_config" ]
|
|
|
|
|
public_configs = [ "../..:common_inherited_config" ]
|
|
|
|
|
|
2014-08-25 14:15:35 +00:00
|
|
|
if (is_clang) {
|
|
|
|
|
# Suppress warnings from Chrome's Clang plugins.
|
|
|
|
|
# See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
|
|
|
|
|
configs -= [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
2014-06-23 19:21:07 +00:00
|
|
|
deps = [
|
2015-02-26 13:59:22 +00:00
|
|
|
"../..:webrtc_common",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../common_audio",
|
|
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../audio_coding",
|
|
|
|
|
"../media_file",
|
|
|
|
|
]
|
|
|
|
|
}
|