| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 float* const* dest) override; | 75 float* const* dest) override; |
| 76 int ProcessStream(const float* const* src, | 76 int ProcessStream(const float* const* src, |
| 77 const StreamConfig& input_config, | 77 const StreamConfig& input_config, |
| 78 const StreamConfig& output_config, | 78 const StreamConfig& output_config, |
| 79 float* const* dest) override; | 79 float* const* dest) override; |
| 80 void set_output_will_be_muted(bool muted) override; | 80 void set_output_will_be_muted(bool muted) override; |
| 81 int set_stream_delay_ms(int delay) override; | 81 int set_stream_delay_ms(int delay) override; |
| 82 void set_delay_offset_ms(int offset) override; | 82 void set_delay_offset_ms(int offset) override; |
| 83 int delay_offset_ms() const override; | 83 int delay_offset_ms() const override; |
| 84 void set_stream_key_pressed(bool key_pressed) override; | 84 void set_stream_key_pressed(bool key_pressed) override; |
| 85 void SetLevelControllerInitialLevel(float level) override; | |
| 86 | 85 |
| 87 // Render-side exclusive methods possibly running APM in a | 86 // Render-side exclusive methods possibly running APM in a |
| 88 // multi-threaded manner. Acquire the render lock. | 87 // multi-threaded manner. Acquire the render lock. |
| 89 int ProcessReverseStream(AudioFrame* frame) override; | 88 int ProcessReverseStream(AudioFrame* frame) override; |
| 90 int AnalyzeReverseStream(const float* const* data, | 89 int AnalyzeReverseStream(const float* const* data, |
| 91 size_t samples_per_channel, | 90 size_t samples_per_channel, |
| 92 int sample_rate_hz, | 91 int sample_rate_hz, |
| 93 ChannelLayout layout) override; | 92 ChannelLayout layout) override; |
| 94 int ProcessReverseStream(const float* const* src, | 93 int ProcessReverseStream(const float* const* src, |
| 95 const StreamConfig& reverse_input_config, | 94 const StreamConfig& reverse_input_config, |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 | 343 |
| 345 struct ApmRenderState { | 344 struct ApmRenderState { |
| 346 std::unique_ptr<AudioConverter> render_converter; | 345 std::unique_ptr<AudioConverter> render_converter; |
| 347 std::unique_ptr<AudioBuffer> render_audio; | 346 std::unique_ptr<AudioBuffer> render_audio; |
| 348 } render_ GUARDED_BY(crit_render_); | 347 } render_ GUARDED_BY(crit_render_); |
| 349 }; | 348 }; |
| 350 | 349 |
| 351 } // namespace webrtc | 350 } // namespace webrtc |
| 352 | 351 |
| 353 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 352 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
| OLD | NEW |