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

Side by Side Diff: webrtc/modules/audio_device/dummy/file_audio_device.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 #include <iostream> 10 #include <iostream>
11 #include "webrtc/modules/audio_device/dummy/file_audio_device.h" 11 #include "webrtc/modules/audio_device/dummy/file_audio_device.h"
12 #include "webrtc/system_wrappers/interface/sleep.h" 12 #include "webrtc/system_wrappers/include/sleep.h"
13 #include "webrtc/system_wrappers/interface/thread_wrapper.h" 13 #include "webrtc/system_wrappers/include/thread_wrapper.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 int kRecordingFixedSampleRate = 48000; 17 int kRecordingFixedSampleRate = 48000;
18 int kRecordingNumChannels = 2; 18 int kRecordingNumChannels = 2;
19 int kPlayoutFixedSampleRate = 48000; 19 int kPlayoutFixedSampleRate = 48000;
20 int kPlayoutNumChannels = 2; 20 int kPlayoutNumChannels = 2;
21 int kPlayoutBufferSize = kPlayoutFixedSampleRate / 100 21 int kPlayoutBufferSize = kPlayoutFixedSampleRate / 100
22 * kPlayoutNumChannels * 2; 22 * kPlayoutNumChannels * 2;
23 int kRecordingBufferSize = kRecordingFixedSampleRate / 100 23 int kRecordingBufferSize = kRecordingFixedSampleRate / 100
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 _critSect.Enter(); 542 _critSect.Enter();
543 } 543 }
544 } 544 }
545 545
546 _critSect.Leave(); 546 _critSect.Leave();
547 SleepMs(10 - (_clock->CurrentNtpInMilliseconds() - currentTime)); 547 SleepMs(10 - (_clock->CurrentNtpInMilliseconds() - currentTime));
548 return true; 548 return true;
549 } 549 }
550 550
551 } // namespace webrtc 551 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/dummy/file_audio_device.h ('k') | webrtc/modules/audio_device/ios/audio_device_unittest_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698