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

Side by Side Diff: webrtc/modules/audio_processing/utility/blocker.h

Issue 1846903004: Moved ring-buffer related files from common_audio to audio_processing (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 8 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
11 #ifndef WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_BLOCKER_H_
12 #define WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_BLOCKER_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/common_audio/audio_ring_buffer.h"
17 #include "webrtc/common_audio/channel_buffer.h" 16 #include "webrtc/common_audio/channel_buffer.h"
17 #include "webrtc/modules/audio_processing/utility/audio_ring_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
23 // must be >= the number of output channels. 23 // must be >= the number of output channels.
24 class BlockerCallback { 24 class BlockerCallback {
25 public: 25 public:
26 virtual ~BlockerCallback() {} 26 virtual ~BlockerCallback() {}
27 27
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 // The amount of frames between the start of contiguous blocks. For example, 115 // The amount of frames between the start of contiguous blocks. For example,
116 // |shift_amount_| = |block_size_| / 2 for a Hann window. 116 // |shift_amount_| = |block_size_| / 2 for a Hann window.
117 size_t shift_amount_; 117 size_t shift_amount_;
118 118
119 BlockerCallback* callback_; 119 BlockerCallback* callback_;
120 }; 120 };
121 121
122 } // namespace webrtc 122 } // namespace webrtc
123 123
124 #endif // WEBRTC_INTERNAL_BEAMFORMER_BLOCKER_H_ 124 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_UTILITY_BLOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698