Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Side by Side Diff: webrtc/modules/audio_processing/BUILD.gn

Issue 2834643002: audioproc_f with simulated mic analog gain (Closed)
Patch Set: fake rec device boilerplate reduced, aec dump simulated analog gain logic moved Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("//build/config/arm.gni") 9 import("//build/config/arm.gni")
10 import("//third_party/protobuf/proto_library.gni") 10 import("//third_party/protobuf/proto_library.gni")
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 "agc/mock_agc.h", 518 "agc/mock_agc.h",
519 "audio_buffer_unittest.cc", 519 "audio_buffer_unittest.cc",
520 "beamformer/array_util_unittest.cc", 520 "beamformer/array_util_unittest.cc",
521 "beamformer/complex_matrix_unittest.cc", 521 "beamformer/complex_matrix_unittest.cc",
522 "beamformer/covariance_matrix_generator_unittest.cc", 522 "beamformer/covariance_matrix_generator_unittest.cc",
523 "beamformer/matrix_unittest.cc", 523 "beamformer/matrix_unittest.cc",
524 "beamformer/mock_nonlinear_beamformer.h", 524 "beamformer/mock_nonlinear_beamformer.h",
525 "config_unittest.cc", 525 "config_unittest.cc",
526 "echo_cancellation_impl_unittest.cc", 526 "echo_cancellation_impl_unittest.cc",
527 "splitting_filter_unittest.cc", 527 "splitting_filter_unittest.cc",
528 "test/fake_recording_device_unittest.cc",
528 "transient/dyadic_decimator_unittest.cc", 529 "transient/dyadic_decimator_unittest.cc",
529 "transient/file_utils.cc", 530 "transient/file_utils.cc",
530 "transient/file_utils.h", 531 "transient/file_utils.h",
531 "transient/file_utils_unittest.cc", 532 "transient/file_utils_unittest.cc",
532 "transient/moving_moments_unittest.cc", 533 "transient/moving_moments_unittest.cc",
533 "transient/transient_detector_unittest.cc", 534 "transient/transient_detector_unittest.cc",
534 "transient/transient_suppressor_unittest.cc", 535 "transient/transient_suppressor_unittest.cc",
535 "transient/wpd_node_unittest.cc", 536 "transient/wpd_node_unittest.cc",
536 "transient/wpd_tree_unittest.cc", 537 "transient/wpd_tree_unittest.cc",
537 "utility/block_mean_calculator_unittest.cc", 538 "utility/block_mean_calculator_unittest.cc",
538 "utility/delay_estimator_unittest.cc", 539 "utility/delay_estimator_unittest.cc",
539 "vad/gmm_unittest.cc", 540 "vad/gmm_unittest.cc",
540 "vad/pitch_based_vad_unittest.cc", 541 "vad/pitch_based_vad_unittest.cc",
541 "vad/pitch_internal_unittest.cc", 542 "vad/pitch_internal_unittest.cc",
542 "vad/pole_zero_filter_unittest.cc", 543 "vad/pole_zero_filter_unittest.cc",
543 "vad/standalone_vad_unittest.cc", 544 "vad/standalone_vad_unittest.cc",
544 "vad/vad_audio_proc_unittest.cc", 545 "vad/vad_audio_proc_unittest.cc",
545 "vad/vad_circular_buffer_unittest.cc", 546 "vad/vad_circular_buffer_unittest.cc",
546 "vad/voice_activity_detector_unittest.cc", 547 "vad/voice_activity_detector_unittest.cc",
547 ] 548 ]
548 549
549 deps = [ 550 deps = [
551 ":analog_mic_simulation",
550 ":audio_processing", 552 ":audio_processing",
551 ":audioproc_test_utils", 553 ":audioproc_test_utils",
552 "..:module_api", 554 "..:module_api",
553 "../..:webrtc_common", 555 "../..:webrtc_common",
554 "../../base:gtest_prod", 556 "../../base:gtest_prod",
555 "../../base:protobuf_utils", 557 "../../base:protobuf_utils",
556 "../../base:rtc_base", 558 "../../base:rtc_base",
557 "../../base:rtc_base_approved", 559 "../../base:rtc_base_approved",
558 "../../common_audio:common_audio", 560 "../../common_audio:common_audio",
559 "../../system_wrappers:system_wrappers", 561 "../../system_wrappers:system_wrappers",
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 "//testing/gtest", 700 "//testing/gtest",
699 ] 701 ]
700 702
701 if (rtc_enable_intelligibility_enhancer) { 703 if (rtc_enable_intelligibility_enhancer) {
702 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] 704 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ]
703 } else { 705 } else {
704 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] 706 defines = [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ]
705 } 707 }
706 } 708 }
707 709
710 rtc_source_set("analog_mic_simulation") {
711 sources = [
712 "test/fake_recording_device.cc",
713 "test/fake_recording_device.h",
714 ]
715 deps = [
716 "../../base:rtc_base_approved",
717 ]
718 }
719
708 if (rtc_enable_protobuf) { 720 if (rtc_enable_protobuf) {
709 rtc_executable("unpack_aecdump") { 721 rtc_executable("unpack_aecdump") {
710 testonly = true 722 testonly = true
711 sources = [ 723 sources = [
712 "test/unpack.cc", 724 "test/unpack.cc",
713 ] 725 ]
714 726
715 deps = [ 727 deps = [
716 ":audio_processing", 728 ":audio_processing",
717 ":audioproc_debug_proto", 729 ":audioproc_debug_proto",
(...skipping 14 matching lines...) Expand all
732 "test/aec_dump_based_simulator.cc", 744 "test/aec_dump_based_simulator.cc",
733 "test/aec_dump_based_simulator.h", 745 "test/aec_dump_based_simulator.h",
734 "test/audio_processing_simulator.cc", 746 "test/audio_processing_simulator.cc",
735 "test/audio_processing_simulator.h", 747 "test/audio_processing_simulator.h",
736 "test/audioproc_float.cc", 748 "test/audioproc_float.cc",
737 "test/wav_based_simulator.cc", 749 "test/wav_based_simulator.cc",
738 "test/wav_based_simulator.h", 750 "test/wav_based_simulator.h",
739 ] 751 ]
740 752
741 deps = [ 753 deps = [
754 ":analog_mic_simulation",
742 ":audio_processing", 755 ":audio_processing",
743 ":audioproc_debug_proto", 756 ":audioproc_debug_proto",
744 ":audioproc_protobuf_utils", 757 ":audioproc_protobuf_utils",
745 ":audioproc_test_utils", 758 ":audioproc_test_utils",
746 "../../base:protobuf_utils", 759 "../../base:protobuf_utils",
747 "../../base:rtc_base_approved", 760 "../../base:rtc_base_approved",
748 "../../common_audio:common_audio", 761 "../../common_audio:common_audio",
749 "../../system_wrappers", 762 "../../system_wrappers",
750 "../../system_wrappers:system_wrappers_default", 763 "../../system_wrappers:system_wrappers_default",
751 "../../test:test_support", 764 "../../test:test_support",
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 873
861 deps = [ 874 deps = [
862 ":audioproc_debug_proto", 875 ":audioproc_debug_proto",
863 "../..:webrtc_common", 876 "../..:webrtc_common",
864 "../../base:protobuf_utils", 877 "../../base:protobuf_utils",
865 "../../base:rtc_base_approved", 878 "../../base:rtc_base_approved",
866 ] 879 ]
867 } 880 }
868 } 881 }
869 } 882 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698