| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "webrtc/modules/include/module_common_types.h" | 31 #include "webrtc/modules/include/module_common_types.h" |
| 32 #include "webrtc/test/gtest.h" | 32 #include "webrtc/test/gtest.h" |
| 33 #include "webrtc/test/testsupport/fileutils.h" | 33 #include "webrtc/test/testsupport/fileutils.h" |
| 34 #include "webrtc/typedefs.h" | 34 #include "webrtc/typedefs.h" |
| 35 | 35 |
| 36 #ifdef WEBRTC_NETEQ_UNITTEST_BITEXACT | 36 #ifdef WEBRTC_NETEQ_UNITTEST_BITEXACT |
| 37 RTC_PUSH_IGNORING_WUNDEF() | 37 RTC_PUSH_IGNORING_WUNDEF() |
| 38 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 38 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
| 39 #include "external/webrtc/webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h" | 39 #include "external/webrtc/webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h" |
| 40 #else | 40 #else |
| 41 #include "webrtc/audio_coding/neteq/neteq_unittest.pb.h" | 41 #include "webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h" |
| 42 #endif | 42 #endif |
| 43 RTC_POP_IGNORING_WUNDEF() | 43 RTC_POP_IGNORING_WUNDEF() |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 DEFINE_bool(gen_ref, false, "Generate reference files."); | 46 DEFINE_bool(gen_ref, false, "Generate reference files."); |
| 47 | 47 |
| 48 namespace webrtc { | 48 namespace webrtc { |
| 49 | 49 |
| 50 namespace { | 50 namespace { |
| 51 | 51 |
| (...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1581 if (muted) { | 1581 if (muted) { |
| 1582 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2)); | 1582 EXPECT_TRUE(AudioFramesEqualExceptData(out_frame1, out_frame2)); |
| 1583 } else { | 1583 } else { |
| 1584 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2)); | 1584 EXPECT_TRUE(AudioFramesEqual(out_frame1, out_frame2)); |
| 1585 } | 1585 } |
| 1586 } | 1586 } |
| 1587 EXPECT_FALSE(muted); | 1587 EXPECT_FALSE(muted); |
| 1588 } | 1588 } |
| 1589 | 1589 |
| 1590 } // namespace webrtc | 1590 } // namespace webrtc |
| OLD | NEW |