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

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

Issue 1772553002: Removed the ProcessingComponent class (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@RemoveComponentFromAGC_CL
Patch Set: Removed the ProcessingComponent class 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
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_
13 13
14 #include <memory> 14 #include <memory>
15 #include <vector> 15 #include <vector>
16 16
17 #include "webrtc/base/criticalsection.h" 17 #include "webrtc/base/criticalsection.h"
18 #include "webrtc/base/thread_annotations.h" 18 #include "webrtc/base/thread_annotations.h"
19 #include "webrtc/common_audio/swap_queue.h" 19 #include "webrtc/common_audio/swap_queue.h"
20 #include "webrtc/modules/audio_processing/include/audio_processing.h" 20 #include "webrtc/modules/audio_processing/include/audio_processing.h"
21 #include "webrtc/modules/audio_processing/processing_component.h" 21 #include "webrtc/modules/audio_processing/render_queues_verifier.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 class AudioBuffer; 25 class AudioBuffer;
26 26
27 class GainControlImpl : public GainControl { 27 class GainControlImpl : public GainControl {
28 public: 28 public:
29 GainControlImpl(const AudioProcessing* apm, 29 GainControlImpl(const AudioProcessing* apm,
30 rtc::CriticalSection* crit_render, 30 rtc::CriticalSection* crit_render,
31 rtc::CriticalSection* crit_capture); 31 rtc::CriticalSection* crit_capture);
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Lock protection not needed. 95 // Lock protection not needed.
96 std::unique_ptr< 96 std::unique_ptr<
97 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 97 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
98 render_signal_queue_; 98 render_signal_queue_;
99 99
100 std::vector<std::unique_ptr<GainController>> gain_controllers_; 100 std::vector<std::unique_ptr<GainController>> gain_controllers_;
101 }; 101 };
102 } // namespace webrtc 102 } // namespace webrtc
103 103
104 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_ 104 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_GAIN_CONTROL_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698