Chromium Code Reviews

Unified Diff: media/audio/audio_parameters_unittest.cc

Issue 1275783003: Add a virtual beamforming audio device on ChromeOS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ...and gfx. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: media/audio/audio_parameters_unittest.cc
diff --git a/media/audio/audio_parameters_unittest.cc b/media/audio/audio_parameters_unittest.cc
index 2cf541d14c381e99c614643696800222286e90ea..c39e8d4915dcb8e9d256617dd63f5c53a354b334 100644
--- a/media/audio/audio_parameters_unittest.cc
+++ b/media/audio/audio_parameters_unittest.cc
@@ -16,6 +16,9 @@ TEST(AudioParameters, Constructor_Default) {
ChannelLayout expected_channel_layout = CHANNEL_LAYOUT_NONE;
int expected_rate = 0;
int expected_samples = 0;
+ AudioParameters::PlatformEffectsMask expected_effects =
+ AudioParameters::NO_EFFECTS;
+ std::vector<Point> expected_mic_positions;
AudioParameters params;
@@ -25,6 +28,8 @@ TEST(AudioParameters, Constructor_Default) {
EXPECT_EQ(expected_channel_layout, params.channel_layout());
EXPECT_EQ(expected_rate, params.sample_rate());
EXPECT_EQ(expected_samples, params.frames_per_buffer());
+ EXPECT_EQ(expected_effects, params.effects());
+ EXPECT_EQ(expected_mic_positions, params.mic_positions());
}
TEST(AudioParameters, Constructor_ParameterValues) {

Powered by Google App Engine