OLD | NEW |
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") |
11 import("../../webrtc.gni") | 11 import("../../webrtc.gni") |
12 | 12 |
13 declare_args() { | 13 declare_args() { |
14 # Disables the usual mode where we trust the reported system delay | 14 # Disables the usual mode where we trust the reported system delay |
15 # values the AEC receives. The corresponding define is set appropriately | 15 # values the AEC receives. The corresponding define is set appropriately |
16 # in the code, but it can be force-enabled here for testing. | 16 # in the code, but it can be force-enabled here for testing. |
17 aec_untrusted_delay_for_testing = false | 17 aec_untrusted_delay_for_testing = false |
18 } | 18 } |
19 | 19 |
20 rtc_static_library("audio_processing") { | 20 rtc_static_library("audio_processing") { |
21 sources = [ | 21 sources = [ |
22 "aec/aec_core.cc", | 22 "aec/aec_core.cc", |
23 "aec/aec_core.h", | 23 "aec/aec_core.h", |
24 "aec/aec_core_optimized_methods.h", | 24 "aec/aec_core_optimized_methods.h", |
25 "aec/aec_resampler.cc", | 25 "aec/aec_resampler.cc", |
26 "aec/aec_resampler.h", | 26 "aec/aec_resampler.h", |
27 "aec/echo_cancellation.cc", | 27 "aec/echo_cancellation.cc", |
28 "aec/echo_cancellation.h", | 28 "aec/echo_cancellation.h", |
29 "aec3/aec3_constants.h", | 29 "aec3/adaptive_fir_filter.cc", |
| 30 "aec3/adaptive_fir_filter.h", |
| 31 "aec3/aec3_fft.cc", |
| 32 "aec3/aec3_fft.h", |
| 33 "aec3/aec_state.cc", |
| 34 "aec3/aec_state.h", |
30 "aec3/block_framer.cc", | 35 "aec3/block_framer.cc", |
31 "aec3/block_framer.h", | 36 "aec3/block_framer.h", |
32 "aec3/block_processor.cc", | 37 "aec3/block_processor.cc", |
33 "aec3/block_processor.h", | 38 "aec3/block_processor.h", |
34 "aec3/cascaded_biquad_filter.cc", | 39 "aec3/cascaded_biquad_filter.cc", |
35 "aec3/cascaded_biquad_filter.h", | 40 "aec3/cascaded_biquad_filter.h", |
| 41 "aec3/comfort_noise_generator.cc", |
| 42 "aec3/comfort_noise_generator.h", |
36 "aec3/decimator_by_4.cc", | 43 "aec3/decimator_by_4.cc", |
37 "aec3/decimator_by_4.h", | 44 "aec3/decimator_by_4.h", |
| 45 "aec3/delay_handler.cc", |
| 46 "aec3/delay_handler.h", |
38 "aec3/echo_canceller3.cc", | 47 "aec3/echo_canceller3.cc", |
39 "aec3/echo_canceller3.h", | 48 "aec3/echo_canceller3.h", |
40 "aec3/echo_path_delay_estimator.cc", | 49 "aec3/echo_path_delay_estimator.cc", |
41 "aec3/echo_path_delay_estimator.h", | 50 "aec3/echo_path_delay_estimator.h", |
| 51 "aec3/echo_path_variability.cc", |
42 "aec3/echo_path_variability.h", | 52 "aec3/echo_path_variability.h", |
43 "aec3/echo_remover.cc", | 53 "aec3/echo_remover.cc", |
44 "aec3/echo_remover.h", | 54 "aec3/echo_remover.h", |
| 55 "aec3/erl_estimator.cc", |
| 56 "aec3/erl_estimator.h", |
| 57 "aec3/erle_estimator.cc", |
| 58 "aec3/erle_estimator.h", |
| 59 "aec3/fft_buffer.cc", |
| 60 "aec3/fft_buffer.h", |
| 61 "aec3/fft_data.h", |
45 "aec3/frame_blocker.cc", | 62 "aec3/frame_blocker.cc", |
46 "aec3/frame_blocker.h", | 63 "aec3/frame_blocker.h", |
| 64 "aec3/main_filter_update_gain.cc", |
| 65 "aec3/main_filter_update_gain.h", |
47 "aec3/matched_filter.cc", | 66 "aec3/matched_filter.cc", |
48 "aec3/matched_filter.h", | 67 "aec3/matched_filter.h", |
49 "aec3/matched_filter_lag_aggregator.cc", | 68 "aec3/matched_filter_lag_aggregator.cc", |
50 "aec3/matched_filter_lag_aggregator.h", | 69 "aec3/matched_filter_lag_aggregator.h", |
| 70 "aec3/output_selector.cc", |
| 71 "aec3/output_selector.h", |
| 72 "aec3/power_echo_model.cc", |
| 73 "aec3/power_echo_model.h", |
51 "aec3/render_delay_buffer.cc", | 74 "aec3/render_delay_buffer.cc", |
52 "aec3/render_delay_buffer.h", | 75 "aec3/render_delay_buffer.h", |
53 "aec3/render_delay_controller.cc", | 76 "aec3/render_delay_controller.cc", |
54 "aec3/render_delay_controller.h", | 77 "aec3/render_delay_controller.h", |
| 78 "aec3/render_signal_analyzer.cc", |
| 79 "aec3/render_signal_analyzer.h", |
| 80 "aec3/residual_echo_estimator.cc", |
| 81 "aec3/residual_echo_estimator.h", |
| 82 "aec3/shadow_filter_update_gain.cc", |
| 83 "aec3/shadow_filter_update_gain.h", |
| 84 "aec3/subtractor.cc", |
| 85 "aec3/subtractor.h", |
| 86 "aec3/subtractor_output.h", |
| 87 "aec3/suppression_filter.cc", |
| 88 "aec3/suppression_filter.h", |
| 89 "aec3/suppression_gain.cc", |
| 90 "aec3/suppression_gain.h", |
55 "aecm/aecm_core.cc", | 91 "aecm/aecm_core.cc", |
56 "aecm/aecm_core.h", | 92 "aecm/aecm_core.h", |
57 "aecm/echo_control_mobile.cc", | 93 "aecm/echo_control_mobile.cc", |
58 "aecm/echo_control_mobile.h", | 94 "aecm/echo_control_mobile.h", |
59 "agc/agc.cc", | 95 "agc/agc.cc", |
60 "agc/agc.h", | 96 "agc/agc.h", |
61 "agc/agc_manager_direct.cc", | 97 "agc/agc_manager_direct.cc", |
62 "agc/agc_manager_direct.h", | 98 "agc/agc_manager_direct.h", |
63 "agc/gain_map_internal.h", | 99 "agc/gain_map_internal.h", |
64 "agc/loudness_histogram.cc", | 100 "agc/loudness_histogram.cc", |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
515 } | 551 } |
516 | 552 |
517 if (rtc_enable_protobuf) { | 553 if (rtc_enable_protobuf) { |
518 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] | 554 defines += [ "WEBRTC_AUDIOPROC_DEBUG_DUMP" ] |
519 deps += [ | 555 deps += [ |
520 ":audioproc_debug_proto", | 556 ":audioproc_debug_proto", |
521 ":audioproc_protobuf_utils", | 557 ":audioproc_protobuf_utils", |
522 ":audioproc_unittest_proto", | 558 ":audioproc_unittest_proto", |
523 ] | 559 ] |
524 sources += [ | 560 sources += [ |
| 561 "aec3/adaptive_fir_filter_unittest.cc", |
| 562 "aec3/aec3_fft_unittest.cc", |
| 563 "aec3/aec_state_unittest.cc", |
525 "aec3/block_framer_unittest.cc", | 564 "aec3/block_framer_unittest.cc", |
526 "aec3/block_processor_unittest.cc", | 565 "aec3/block_processor_unittest.cc", |
527 "aec3/cascaded_biquad_filter_unittest.cc", | 566 "aec3/cascaded_biquad_filter_unittest.cc", |
| 567 "aec3/comfort_noise_generator_unittest.cc", |
528 "aec3/decimator_by_4_unittest.cc", | 568 "aec3/decimator_by_4_unittest.cc", |
| 569 "aec3/delay_handler_unittest.cc", |
529 "aec3/echo_canceller3_unittest.cc", | 570 "aec3/echo_canceller3_unittest.cc", |
530 "aec3/echo_path_delay_estimator_unittest.cc", | 571 "aec3/echo_path_delay_estimator_unittest.cc", |
| 572 "aec3/echo_path_variability_unittest.cc", |
531 "aec3/echo_remover_unittest.cc", | 573 "aec3/echo_remover_unittest.cc", |
| 574 "aec3/erl_estimator_unittest.cc", |
| 575 "aec3/erle_estimator_unittest.cc", |
| 576 "aec3/fft_buffer_unittest.cc", |
| 577 "aec3/fft_data_unittest.cc", |
532 "aec3/frame_blocker_unittest.cc", | 578 "aec3/frame_blocker_unittest.cc", |
| 579 "aec3/main_filter_update_gain_unittest.cc", |
533 "aec3/matched_filter_lag_aggregator_unittest.cc", | 580 "aec3/matched_filter_lag_aggregator_unittest.cc", |
534 "aec3/matched_filter_unittest.cc", | 581 "aec3/matched_filter_unittest.cc", |
535 "aec3/mock/mock_block_processor.h", | 582 "aec3/output_selector_unittest.cc", |
536 "aec3/mock/mock_echo_remover.h", | 583 "aec3/power_echo_model_unittest.cc", |
537 "aec3/mock/mock_render_delay_buffer.h", | |
538 "aec3/mock/mock_render_delay_controller.h", | |
539 "aec3/render_delay_buffer_unittest.cc", | 584 "aec3/render_delay_buffer_unittest.cc", |
540 "aec3/render_delay_controller_unittest.cc", | 585 "aec3/render_delay_controller_unittest.cc", |
| 586 "aec3/render_signal_analyzer_unittest.cc", |
| 587 "aec3/residual_echo_estimator_unittest.cc", |
| 588 "aec3/shadow_filter_update_gain_unittest.cc", |
| 589 "aec3/subtractor_unittest.cc", |
| 590 "aec3/suppression_filter_unittest.cc", |
| 591 "aec3/suppression_gain_unittest.cc", |
541 "audio_processing_impl_locking_unittest.cc", | 592 "audio_processing_impl_locking_unittest.cc", |
542 "audio_processing_impl_unittest.cc", | 593 "audio_processing_impl_unittest.cc", |
543 "audio_processing_unittest.cc", | 594 "audio_processing_unittest.cc", |
544 "beamformer/nonlinear_beamformer_unittest.cc", | 595 "beamformer/nonlinear_beamformer_unittest.cc", |
545 "echo_cancellation_bit_exact_unittest.cc", | 596 "echo_cancellation_bit_exact_unittest.cc", |
546 "echo_control_mobile_unittest.cc", | 597 "echo_control_mobile_unittest.cc", |
547 "echo_detector/circular_buffer_unittest.cc", | 598 "echo_detector/circular_buffer_unittest.cc", |
548 "echo_detector/mean_variance_estimator_unittest.cc", | 599 "echo_detector/mean_variance_estimator_unittest.cc", |
549 "echo_detector/moving_max_unittest.cc", | 600 "echo_detector/moving_max_unittest.cc", |
550 "echo_detector/normalized_covariance_estimator_unittest.cc", | 601 "echo_detector/normalized_covariance_estimator_unittest.cc", |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 ] | 804 ] |
754 | 805 |
755 deps = [ | 806 deps = [ |
756 ":audioproc_debug_proto", | 807 ":audioproc_debug_proto", |
757 "../..:webrtc_common", | 808 "../..:webrtc_common", |
758 "../../base:rtc_base_approved", | 809 "../../base:rtc_base_approved", |
759 ] | 810 ] |
760 } | 811 } |
761 } | 812 } |
762 } | 813 } |
OLD | NEW |