summaryrefslogtreecommitdiffstats
path: root/media/audio/alsa/alsa_output_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/audio/alsa/alsa_output_unittest.cc')
-rw-r--r--media/audio/alsa/alsa_output_unittest.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/media/audio/alsa/alsa_output_unittest.cc b/media/audio/alsa/alsa_output_unittest.cc
index c9a98c5..8996dbc 100644
--- a/media/audio/alsa/alsa_output_unittest.cc
+++ b/media/audio/alsa/alsa_output_unittest.cc
@@ -235,17 +235,6 @@ TEST_F(AlsaPcmOutputStreamTest, ConstructedState) {
mock_manager_.get());
EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
test_stream->Close();
-
- // Bad format.
- AudioParameters bad_format_params(
- AudioParameters::AUDIO_LAST_FORMAT, kTestChannelLayout, kTestSampleRate,
- kTestBitsPerSample, kTestFramesPerPacket);
- test_stream = new AlsaPcmOutputStream(kTestDeviceName,
- bad_format_params,
- &mock_alsa_wrapper_,
- mock_manager_.get());
- EXPECT_EQ(AlsaPcmOutputStream::kInError, test_stream->state());
- test_stream->Close();
}
TEST_F(AlsaPcmOutputStreamTest, LatencyFloor) {