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

Side by Side Diff: webrtc/modules/audio_device/fine_audio_buffer.h

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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_DEVICE_FINE_AUDIO_BUFFER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_DEVICE_FINE_AUDIO_BUFFER_H_
12 #define WEBRTC_MODULES_AUDIO_DEVICE_FINE_AUDIO_BUFFER_H_ 12 #define WEBRTC_MODULES_AUDIO_DEVICE_FINE_AUDIO_BUFFER_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/rtc_base/array_view.h" 16 #include "webrtc/api/array_view.h"
17 #include "webrtc/rtc_base/buffer.h" 17 #include "webrtc/rtc_base/buffer.h"
18 #include "webrtc/typedefs.h" 18 #include "webrtc/typedefs.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 class AudioDeviceBuffer; 22 class AudioDeviceBuffer;
23 23
24 // FineAudioBuffer takes an AudioDeviceBuffer (ADB) which deals with audio data 24 // FineAudioBuffer takes an AudioDeviceBuffer (ADB) which deals with audio data
25 // corresponding to 10ms of data. It then allows for this data to be pulled in 25 // corresponding to 10ms of data. It then allows for this data to be pulled in
26 // a finer or coarser granularity. I.e. interacting with this class instead of 26 // a finer or coarser granularity. I.e. interacting with this class instead of
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // in any size using GetPlayoutData(). 82 // in any size using GetPlayoutData().
83 rtc::BufferT<int8_t> playout_buffer_; 83 rtc::BufferT<int8_t> playout_buffer_;
84 // Storage for input samples that are about to be delivered to the WebRTC 84 // Storage for input samples that are about to be delivered to the WebRTC
85 // ADB or remains from the last successful delivery of a 10ms audio buffer. 85 // ADB or remains from the last successful delivery of a 10ms audio buffer.
86 rtc::BufferT<int8_t> record_buffer_; 86 rtc::BufferT<int8_t> record_buffer_;
87 }; 87 };
88 88
89 } // namespace webrtc 89 } // namespace webrtc
90 90
91 #endif // WEBRTC_MODULES_AUDIO_DEVICE_FINE_AUDIO_BUFFER_H_ 91 #endif // WEBRTC_MODULES_AUDIO_DEVICE_FINE_AUDIO_BUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device_unittest.cc ('k') | webrtc/modules/audio_device/fine_audio_buffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698