OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 #include <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include "base/bind.h" | 8 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
| 10 #include "base/macros.h" |
7 #include "base/synchronization/condition_variable.h" | 11 #include "base/synchronization/condition_variable.h" |
8 #include "base/synchronization/lock.h" | 12 #include "base/synchronization/lock.h" |
9 #include "base/sys_byteorder.h" | 13 #include "base/sys_byteorder.h" |
10 #include "base/time/time.h" | 14 #include "base/time/time.h" |
11 #include "media/cast/cast_config.h" | 15 #include "media/cast/cast_config.h" |
12 #include "media/cast/receiver/audio_decoder.h" | 16 #include "media/cast/receiver/audio_decoder.h" |
13 #include "media/cast/test/utility/audio_utility.h" | 17 #include "media/cast/test/utility/audio_utility.h" |
14 #include "media/cast/test/utility/standalone_cast_environment.h" | 18 #include "media/cast/test/utility/standalone_cast_environment.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "third_party/opus/src/include/opus.h" | 20 #include "third_party/opus/src/include/opus.h" |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 AudioDecoderTestScenarios, | 242 AudioDecoderTestScenarios, |
239 AudioDecoderTest, | 243 AudioDecoderTest, |
240 ::testing::Values( | 244 ::testing::Values( |
241 TestScenario(CODEC_AUDIO_PCM16, 1, 8000), | 245 TestScenario(CODEC_AUDIO_PCM16, 1, 8000), |
242 TestScenario(CODEC_AUDIO_PCM16, 2, 48000), | 246 TestScenario(CODEC_AUDIO_PCM16, 2, 48000), |
243 TestScenario(CODEC_AUDIO_OPUS, 1, 8000), | 247 TestScenario(CODEC_AUDIO_OPUS, 1, 8000), |
244 TestScenario(CODEC_AUDIO_OPUS, 2, 48000))); | 248 TestScenario(CODEC_AUDIO_OPUS, 2, 48000))); |
245 | 249 |
246 } // namespace cast | 250 } // namespace cast |
247 } // namespace media | 251 } // namespace media |
OLD | NEW |