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

Side by Side Diff: webrtc/modules/utility/source/file_recorder.cc

Issue 2553583002: Delete voice_engine_configurations.h (Closed)
Patch Set: Rebase Created 4 years 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
11 #include "webrtc/modules/utility/include/file_recorder.h" 11 #include "webrtc/modules/utility/include/file_recorder.h"
12 12
13 #include <list> 13 #include <list>
14 14
15 #include "webrtc/base/platform_thread.h" 15 #include "webrtc/base/platform_thread.h"
16 #include "webrtc/common_audio/resampler/include/resampler.h" 16 #include "webrtc/common_audio/resampler/include/resampler.h"
17 #include "webrtc/common_types.h" 17 #include "webrtc/common_types.h"
18 #include "webrtc/modules/include/module_common_types.h" 18 #include "webrtc/modules/include/module_common_types.h"
19 #include "webrtc/modules/media_file/media_file.h" 19 #include "webrtc/modules/media_file/media_file.h"
20 #include "webrtc/modules/media_file/media_file_defines.h" 20 #include "webrtc/modules/media_file/media_file_defines.h"
21 #include "webrtc/modules/utility/source/coder.h" 21 #include "webrtc/modules/utility/source/coder.h"
22 #include "webrtc/system_wrappers/include/event_wrapper.h" 22 #include "webrtc/system_wrappers/include/event_wrapper.h"
23 #include "webrtc/system_wrappers/include/logging.h" 23 #include "webrtc/system_wrappers/include/logging.h"
24 #include "webrtc/typedefs.h" 24 #include "webrtc/typedefs.h"
25 #include "webrtc/voice_engine_configurations.h"
26 25
27 namespace webrtc { 26 namespace webrtc {
28 27
29 namespace { 28 namespace {
30 29
31 // The largest decoded frame size in samples (60ms with 32kHz sample rate). 30 // The largest decoded frame size in samples (60ms with 32kHz sample rate).
32 enum { MAX_AUDIO_BUFFER_IN_SAMPLES = 60 * 32 }; 31 enum { MAX_AUDIO_BUFFER_IN_SAMPLES = 60 * 32 };
33 enum { MAX_AUDIO_BUFFER_IN_BYTES = MAX_AUDIO_BUFFER_IN_SAMPLES * 2 }; 32 enum { MAX_AUDIO_BUFFER_IN_BYTES = MAX_AUDIO_BUFFER_IN_SAMPLES * 2 };
34 enum { kMaxAudioBufferQueueLength = 100 }; 33 enum { kMaxAudioBufferQueueLength = 100 };
35 34
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } // namespace 253 } // namespace
255 254
256 std::unique_ptr<FileRecorder> FileRecorder::CreateFileRecorder( 255 std::unique_ptr<FileRecorder> FileRecorder::CreateFileRecorder(
257 uint32_t instanceID, 256 uint32_t instanceID,
258 FileFormats fileFormat) { 257 FileFormats fileFormat) {
259 return std::unique_ptr<FileRecorder>( 258 return std::unique_ptr<FileRecorder>(
260 new FileRecorderImpl(instanceID, fileFormat)); 259 new FileRecorderImpl(instanceID, fileFormat));
261 } 260 }
262 261
263 } // namespace webrtc 262 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698