Index: media/audio/linux/alsa_output_unittest.cc |
=================================================================== |
--- media/audio/linux/alsa_output_unittest.cc (revision 128216) |
+++ media/audio/linux/alsa_output_unittest.cc (working copy) |
@@ -120,7 +120,7 @@ |
AlsaPcmOutputStream* CreateStream(ChannelLayout layout, |
int32 samples_per_packet) { |
- AudioParameters params(kTestFormat, layout, kTestSampleRate, |
+ AudioParameters params(kTestFormat, false, layout, kTestSampleRate, |
kTestBitsPerSample, samples_per_packet); |
return new AlsaPcmOutputStream(kTestDeviceName, |
params, |
@@ -228,7 +228,7 @@ |
test_stream->Close(); |
// Bad bits per sample. |
- AudioParameters bad_bps_params(kTestFormat, kTestChannelLayout, |
+ AudioParameters bad_bps_params(kTestFormat, false, kTestChannelLayout, |
kTestSampleRate, kTestBitsPerSample - 1, |
kTestFramesPerPacket); |
test_stream = new AlsaPcmOutputStream(kTestDeviceName, |
@@ -240,7 +240,9 @@ |
// Bad format. |
AudioParameters bad_format_params( |
- AudioParameters::AUDIO_LAST_FORMAT, kTestChannelLayout, kTestSampleRate, |
+ AudioParameters::AUDIO_LAST_FORMAT, |
+ false, |
+ kTestChannelLayout, kTestSampleRate, |
kTestBitsPerSample, kTestFramesPerPacket); |
test_stream = new AlsaPcmOutputStream(kTestDeviceName, |
bad_format_params, |