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

Side by Side Diff: webrtc/modules/audio_processing/audio_processing_impl.h

Issue 1525173002: Bugfix that fixes the integration issue that cause WebRTC AEC mobile to fail (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added missing input_sample_rate_hz() to FakeAudioProcessing Created 5 years 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 /* 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 float* const* dest) override; 74 float* const* dest) override;
75 int ProcessStream(const float* const* src, 75 int ProcessStream(const float* const* src,
76 const StreamConfig& input_config, 76 const StreamConfig& input_config,
77 const StreamConfig& output_config, 77 const StreamConfig& output_config,
78 float* const* dest) override; 78 float* const* dest) override;
79 void set_output_will_be_muted(bool muted) override; 79 void set_output_will_be_muted(bool muted) override;
80 int set_stream_delay_ms(int delay) override; 80 int set_stream_delay_ms(int delay) override;
81 void set_delay_offset_ms(int offset) override; 81 void set_delay_offset_ms(int offset) override;
82 int delay_offset_ms() const override; 82 int delay_offset_ms() const override;
83 void set_stream_key_pressed(bool key_pressed) override; 83 void set_stream_key_pressed(bool key_pressed) override;
84 int input_sample_rate_hz() const override;
84 85
85 // Render-side exclusive methods possibly running APM in a 86 // Render-side exclusive methods possibly running APM in a
86 // multi-threaded manner. Acquire the render lock. 87 // multi-threaded manner. Acquire the render lock.
87 int AnalyzeReverseStream(AudioFrame* frame) override; 88 int AnalyzeReverseStream(AudioFrame* frame) override;
88 int ProcessReverseStream(AudioFrame* frame) override; 89 int ProcessReverseStream(AudioFrame* frame) override;
89 int AnalyzeReverseStream(const float* const* data, 90 int AnalyzeReverseStream(const float* const* data,
90 size_t samples_per_channel, 91 size_t samples_per_channel,
91 int sample_rate_hz, 92 int sample_rate_hz,
92 ChannelLayout layout) override; 93 ChannelLayout layout) override;
93 int ProcessReverseStream(const float* const* src, 94 int ProcessReverseStream(const float* const* src,
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 330
330 struct ApmRenderState { 331 struct ApmRenderState {
331 rtc::scoped_ptr<AudioConverter> render_converter; 332 rtc::scoped_ptr<AudioConverter> render_converter;
332 rtc::scoped_ptr<AudioBuffer> render_audio; 333 rtc::scoped_ptr<AudioBuffer> render_audio;
333 } render_ GUARDED_BY(crit_render_); 334 } render_ GUARDED_BY(crit_render_);
334 }; 335 };
335 336
336 } // namespace webrtc 337 } // namespace webrtc
337 338
338 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 339 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « talk/media/webrtc/fakewebrtcvoiceengine.h ('k') | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698