| Index: media/audio/audio_parameters_unittest.cc
|
| diff --git a/media/audio/audio_parameters_unittest.cc b/media/audio/audio_parameters_unittest.cc
|
| index afcf6ff5d8a4c54ad232a9f6b93b1c70176ff853..da3e746fc2808b2ff9f47715e01007f0bd7de48d 100644
|
| --- a/media/audio/audio_parameters_unittest.cc
|
| +++ b/media/audio/audio_parameters_unittest.cc
|
| @@ -7,8 +7,6 @@
|
| #include "media/audio/audio_parameters.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| -using media::AudioDecoderConfig;
|
| -
|
| TEST(AudioParameters, Constructor_Default) {
|
| AudioParameters::Format expected_format = AudioParameters::AUDIO_PCM_LINEAR;
|
| int expected_bits = 0;
|
| @@ -27,26 +25,6 @@ TEST(AudioParameters, Constructor_Default) {
|
| EXPECT_EQ(expected_samples, params.samples_per_packet);
|
| }
|
|
|
| -TEST(AudioParameters, Constructor_AudioDecoderConfig) {
|
| - AudioParameters::Format expected_format = AudioParameters::AUDIO_PCM_LINEAR;
|
| - int expected_bits = 8;
|
| - int expected_channels = 2;
|
| - ChannelLayout expected_channel_layout = CHANNEL_LAYOUT_STEREO;
|
| - int expected_rate = 44000;
|
| - int expected_samples = 0;
|
| -
|
| - AudioDecoderConfig config(expected_bits, expected_channel_layout,
|
| - expected_rate);
|
| - AudioParameters params(config);
|
| -
|
| - EXPECT_EQ(expected_format, params.format);
|
| - EXPECT_EQ(expected_bits, params.bits_per_sample);
|
| - EXPECT_EQ(expected_channels, params.channels);
|
| - EXPECT_EQ(expected_channel_layout, params.channel_layout);
|
| - EXPECT_EQ(expected_rate, params.sample_rate);
|
| - EXPECT_EQ(expected_samples, params.samples_per_packet);
|
| -}
|
| -
|
| TEST(AudioParameters, Constructor_ParameterValues) {
|
| AudioParameters::Format expected_format =
|
| AudioParameters::AUDIO_PCM_LOW_LATENCY;
|
|
|