Commit a1179dbf authored by Michael Montvelishsky's avatar Michael Montvelishsky Committed by Commit Bot

Larger size of test chirp

We should cover plugins with greater delays.

Bug: None
Test: None
Change-Id: I6ffcc83c0dbef55fd2f1f7eea8731f1b5d6b5ca2
Reviewed-on: https://chromium-review.googlesource.com/996233Reviewed-by: default avatarKenneth MacKay <kmackay@chromium.org>
Commit-Queue: Michael Montvelishsky <mont@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548130}
parent e419dfbf
...@@ -61,7 +61,7 @@ void TestDelay(AudioPostProcessor2* pp, ...@@ -61,7 +61,7 @@ void TestDelay(AudioPostProcessor2* pp,
EXPECT_TRUE(pp->SetSampleRate(sample_rate)); EXPECT_TRUE(pp->SetSampleRate(sample_rate));
const int num_output_channels = pp->NumOutputChannels(); const int num_output_channels = pp->NumOutputChannels();
const int test_size_frames = kBufSizeFrames * 10; const int test_size_frames = kBufSizeFrames * 100;
std::vector<float> data_in = LinearChirp( std::vector<float> data_in = LinearChirp(
test_size_frames, std::vector<double>(num_input_channels, 0.0), test_size_frames, std::vector<double>(num_input_channels, 0.0),
std::vector<double>(num_input_channels, 1.0)); std::vector<double>(num_input_channels, 1.0));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment