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

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

Issue 1783693005: Deprecate AudioProcessing::AnalyzeReverseStream(AudioFrame) API (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@voe
Patch Set: Rebasing Created 4 years, 9 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 /* 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 const StreamConfig& output_config, 79 const StreamConfig& output_config,
80 float* const* dest) override; 80 float* const* dest) override;
81 void set_output_will_be_muted(bool muted) override; 81 void set_output_will_be_muted(bool muted) override;
82 int set_stream_delay_ms(int delay) override; 82 int set_stream_delay_ms(int delay) override;
83 void set_delay_offset_ms(int offset) override; 83 void set_delay_offset_ms(int offset) override;
84 int delay_offset_ms() const override; 84 int delay_offset_ms() const override;
85 void set_stream_key_pressed(bool key_pressed) override; 85 void set_stream_key_pressed(bool key_pressed) override;
86 86
87 // Render-side exclusive methods possibly running APM in a 87 // Render-side exclusive methods possibly running APM in a
88 // multi-threaded manner. Acquire the render lock. 88 // multi-threaded manner. Acquire the render lock.
89 int AnalyzeReverseStream(AudioFrame* frame) override;
90 int ProcessReverseStream(AudioFrame* frame) override; 89 int ProcessReverseStream(AudioFrame* frame) override;
91 int AnalyzeReverseStream(const float* const* data, 90 int AnalyzeReverseStream(const float* const* data,
92 size_t samples_per_channel, 91 size_t samples_per_channel,
93 int sample_rate_hz, 92 int sample_rate_hz,
94 ChannelLayout layout) override; 93 ChannelLayout layout) override;
95 int ProcessReverseStream(const float* const* src, 94 int ProcessReverseStream(const float* const* src,
96 const StreamConfig& reverse_input_config, 95 const StreamConfig& reverse_input_config,
97 const StreamConfig& reverse_output_config, 96 const StreamConfig& reverse_output_config,
98 float* const* dest) override; 97 float* const* dest) override;
99 98
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 341
343 struct ApmRenderState { 342 struct ApmRenderState {
344 std::unique_ptr<AudioConverter> render_converter; 343 std::unique_ptr<AudioConverter> render_converter;
345 std::unique_ptr<AudioBuffer> render_audio; 344 std::unique_ptr<AudioBuffer> render_audio;
346 } render_ GUARDED_BY(crit_render_); 345 } render_ GUARDED_BY(crit_render_);
347 }; 346 };
348 347
349 } // namespace webrtc 348 } // namespace webrtc
350 349
351 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 350 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/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