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

Side by Side Diff: webrtc/modules/audio_device/test/audio_device_test_api.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) 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 <math.h> 11 #include <math.h>
12 #include <stdio.h> 12 #include <stdio.h>
13 #include <string.h> 13 #include <string.h>
14 14
15 #include "webrtc/modules/audio_device/test/audio_device_test_defines.h" 15 #include "webrtc/modules/audio_device/test/audio_device_test_defines.h"
16 16
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "webrtc/test/testsupport/fileutils.h" 18 #include "webrtc/test/testsupport/fileutils.h"
19 19
20 #include "webrtc/modules/audio_device/audio_device_config.h" 20 #include "webrtc/modules/audio_device/audio_device_config.h"
21 #include "webrtc/modules/audio_device/audio_device_impl.h" 21 #include "webrtc/modules/audio_device/audio_device_impl.h"
22 #include "webrtc/system_wrappers/interface/sleep.h" 22 #include "webrtc/system_wrappers/include/sleep.h"
23 23
24 // Helper functions 24 // Helper functions
25 #if defined(ANDROID) 25 #if defined(ANDROID)
26 char filenameStr[2][256] = 26 char filenameStr[2][256] =
27 { {0}, 27 { {0},
28 {0}, 28 {0},
29 }; // Allow two buffers for those API calls taking two filenames 29 }; // Allow two buffers for those API calls taking two filenames
30 int currentStr = 0; 30 int currentStr = 0;
31 31
32 const char* GetFilename(const char* filename) 32 const char* GetFilename(const char* filename)
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 // TODO(kjellander): Fix so these tests pass on Mac. 1822 // TODO(kjellander): Fix so these tests pass on Mac.
1823 #if !defined(WEBRTC_MAC) 1823 #if !defined(WEBRTC_MAC)
1824 EXPECT_EQ(0, audio_device_->InitPlayout()); 1824 EXPECT_EQ(0, audio_device_->InitPlayout());
1825 EXPECT_EQ(0, audio_device_->StartPlayout()); 1825 EXPECT_EQ(0, audio_device_->StartPlayout());
1826 #endif 1826 #endif
1827 1827
1828 EXPECT_EQ(-1, audio_device_->GetLoudspeakerStatus(&loudspeakerOn)); 1828 EXPECT_EQ(-1, audio_device_->GetLoudspeakerStatus(&loudspeakerOn));
1829 #endif 1829 #endif
1830 EXPECT_EQ(0, audio_device_->StopPlayout()); 1830 EXPECT_EQ(0, audio_device_->StopPlayout());
1831 } 1831 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698