OLD | NEW |
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 |
11 #ifndef WEBRTC_COMMON_AUDIO_BLOCKER_H_ | 11 #ifndef WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ |
12 #define WEBRTC_COMMON_AUDIO_BLOCKER_H_ | 12 #define WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/common_audio/audio_ring_buffer.h" | 16 #include "webrtc/common_audio/audio_ring_buffer.h" |
17 #include "webrtc/common_audio/channel_buffer.h" | 17 #include "webrtc/common_audio/channel_buffer.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 // The callback function to process audio in the time domain. Input has already | 21 // The callback function to process audio in the time domain. Input has already |
22 // been windowed, and output will be windowed. The number of input channels | 22 // been windowed, and output will be windowed. The number of input channels |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 117 |
118 // The amount of frames between the start of contiguous blocks. For example, | 118 // The amount of frames between the start of contiguous blocks. For example, |
119 // |shift_amount_| = |block_size_| / 2 for a Hann window. | 119 // |shift_amount_| = |block_size_| / 2 for a Hann window. |
120 size_t shift_amount_; | 120 size_t shift_amount_; |
121 | 121 |
122 BlockerCallback* callback_; | 122 BlockerCallback* callback_; |
123 }; | 123 }; |
124 | 124 |
125 } // namespace webrtc | 125 } // namespace webrtc |
126 | 126 |
127 #endif // WEBRTC_COMMON_AUDIO_BLOCKER_H_ | 127 #endif // WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ |
OLD | NEW |