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

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

Issue 1316523002: Convert channel counts to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix compile Created 4 years, 11 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 int* std, 65 int* std,
66 float* fraction_poor_delays) override; 66 float* fraction_poor_delays) override;
67 67
68 struct AecCore* aec_core() const override; 68 struct AecCore* aec_core() const override;
69 69
70 // ProcessingComponent implementation. 70 // ProcessingComponent implementation.
71 void* CreateHandle() const override; 71 void* CreateHandle() const override;
72 int InitializeHandle(void* handle) const override; 72 int InitializeHandle(void* handle) const override;
73 int ConfigureHandle(void* handle) const override; 73 int ConfigureHandle(void* handle) const override;
74 void DestroyHandle(void* handle) const override; 74 void DestroyHandle(void* handle) const override;
75 int num_handles_required() const override; 75 size_t num_handles_required() const override;
76 int GetHandleError(void* handle) const override; 76 int GetHandleError(void* handle) const override;
77 77
78 void AllocateRenderQueue(); 78 void AllocateRenderQueue();
79 79
80 // Not guarded as its public API is thread safe. 80 // Not guarded as its public API is thread safe.
81 const AudioProcessing* apm_; 81 const AudioProcessing* apm_;
82 82
83 rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_); 83 rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_);
84 rtc::CriticalSection* const crit_capture_; 84 rtc::CriticalSection* const crit_capture_;
85 85
(...skipping 13 matching lines...) Expand all
99 std::vector<float> capture_queue_buffer_ GUARDED_BY(crit_capture_); 99 std::vector<float> capture_queue_buffer_ GUARDED_BY(crit_capture_);
100 100
101 // Lock protection not needed. 101 // Lock protection not needed.
102 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 102 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
103 render_signal_queue_; 103 render_signal_queue_;
104 }; 104 };
105 105
106 } // namespace webrtc 106 } // namespace webrtc
107 107
108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ 108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/common.h ('k') | webrtc/modules/audio_processing/echo_cancellation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698