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

Side by Side Diff: webrtc/common_audio/blocker.h

Issue 2288593004: Fix Chromium clang plugin warnings (Closed)
Patch Set: Created 4 years, 3 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) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // copy of window and does not attempt to delete it. 64 // copy of window and does not attempt to delete it.
65 class Blocker { 65 class Blocker {
66 public: 66 public:
67 Blocker(size_t chunk_size, 67 Blocker(size_t chunk_size,
68 size_t block_size, 68 size_t block_size,
69 size_t num_input_channels, 69 size_t num_input_channels,
70 size_t num_output_channels, 70 size_t num_output_channels,
71 const float* window, 71 const float* window,
72 size_t shift_amount, 72 size_t shift_amount,
73 BlockerCallback* callback); 73 BlockerCallback* callback);
74 ~Blocker();
74 75
75 void ProcessChunk(const float* const* input, 76 void ProcessChunk(const float* const* input,
76 size_t chunk_size, 77 size_t chunk_size,
77 size_t num_input_channels, 78 size_t num_input_channels,
78 size_t num_output_channels, 79 size_t num_output_channels,
79 float* const* output); 80 float* const* output);
80 81
81 private: 82 private:
82 const size_t chunk_size_; 83 const size_t chunk_size_;
83 const size_t block_size_; 84 const size_t block_size_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 // The amount of frames between the start of contiguous blocks. For example, 116 // The amount of frames between the start of contiguous blocks. For example,
116 // |shift_amount_| = |block_size_| / 2 for a Hann window. 117 // |shift_amount_| = |block_size_| / 2 for a Hann window.
117 size_t shift_amount_; 118 size_t shift_amount_;
118 119
119 BlockerCallback* callback_; 120 BlockerCallback* callback_;
120 }; 121 };
121 122
122 } // namespace webrtc 123 } // namespace webrtc
123 124
124 #endif // WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ 125 #endif // WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_
OLDNEW
« webrtc/common.h ('K') | « webrtc/common.gyp ('k') | webrtc/common_audio/blocker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698