OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 int sample_rate_hz() const override; | 71 int sample_rate_hz() const override; |
72 int proc_sample_rate_hz() const override; | 72 int proc_sample_rate_hz() const override; |
73 int proc_split_sample_rate_hz() const override; | 73 int proc_split_sample_rate_hz() const override; |
74 int num_input_channels() const override; | 74 int num_input_channels() const override; |
75 int num_output_channels() const override; | 75 int num_output_channels() const override; |
76 int num_reverse_channels() const override; | 76 int num_reverse_channels() const override; |
77 void set_output_will_be_muted(bool muted) override; | 77 void set_output_will_be_muted(bool muted) override; |
78 bool output_will_be_muted() const override; | 78 bool output_will_be_muted() const override; |
79 int ProcessStream(AudioFrame* frame) override; | 79 int ProcessStream(AudioFrame* frame) override; |
80 int ProcessStream(const float* const* src, | 80 int ProcessStream(const float* const* src, |
81 int samples_per_channel, | 81 size_t samples_per_channel, |
82 int input_sample_rate_hz, | 82 int input_sample_rate_hz, |
83 ChannelLayout input_layout, | 83 ChannelLayout input_layout, |
84 int output_sample_rate_hz, | 84 int output_sample_rate_hz, |
85 ChannelLayout output_layout, | 85 ChannelLayout output_layout, |
86 float* const* dest) override; | 86 float* const* dest) override; |
87 int ProcessStream(const float* const* src, | 87 int ProcessStream(const float* const* src, |
88 const StreamConfig& input_config, | 88 const StreamConfig& input_config, |
89 const StreamConfig& output_config, | 89 const StreamConfig& output_config, |
90 float* const* dest) override; | 90 float* const* dest) override; |
91 int AnalyzeReverseStream(AudioFrame* frame) override; | 91 int AnalyzeReverseStream(AudioFrame* frame) override; |
92 int AnalyzeReverseStream(const float* const* data, | 92 int AnalyzeReverseStream(const float* const* data, |
93 int samples_per_channel, | 93 size_t samples_per_channel, |
94 int sample_rate_hz, | 94 int sample_rate_hz, |
95 ChannelLayout layout) override; | 95 ChannelLayout layout) override; |
96 int AnalyzeReverseStream(const float* const* data, | 96 int AnalyzeReverseStream(const float* const* data, |
97 const StreamConfig& reverse_config) override; | 97 const StreamConfig& reverse_config) override; |
98 int set_stream_delay_ms(int delay) override; | 98 int set_stream_delay_ms(int delay) override; |
99 int stream_delay_ms() const override; | 99 int stream_delay_ms() const override; |
100 bool was_stream_delay_set() const override; | 100 bool was_stream_delay_set() const override; |
101 void set_delay_offset_ms(int offset) override; | 101 void set_delay_offset_ms(int offset) override; |
102 int delay_offset_ms() const override; | 102 int delay_offset_ms() const override; |
103 void set_stream_key_pressed(bool key_pressed) override; | 103 void set_stream_key_pressed(bool key_pressed) override; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 const bool beamformer_enabled_; | 191 const bool beamformer_enabled_; |
192 rtc::scoped_ptr<Beamformer<float>> beamformer_; | 192 rtc::scoped_ptr<Beamformer<float>> beamformer_; |
193 const std::vector<Point> array_geometry_; | 193 const std::vector<Point> array_geometry_; |
194 | 194 |
195 const bool supports_48kHz_; | 195 const bool supports_48kHz_; |
196 }; | 196 }; |
197 | 197 |
198 } // namespace webrtc | 198 } // namespace webrtc |
199 | 199 |
200 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 200 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |