Use non-zero data in AudioRingBufferTest.

TBR=aluebs@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/35909004

Cr-Commit-Position: refs/heads/master@{#8176}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8176 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andrew@webrtc.org 2015-01-27 21:59:33 +00:00
parent 36401aba62
commit 922cfcd150

View File

@ -65,7 +65,7 @@ TEST_P(AudioRingBufferTest, ReadDataMatchesWrittenData) {
ChannelBuffer<float> input(kFrames, static_cast<int>(num_channels));
for (size_t i = 0; i < num_channels; ++i)
for (size_t j = 0; j < kFrames; ++j)
input.channels()[i][j] = i * j;
input.channels()[i][j] = (i + 1) * (j + 1);
ChannelBuffer<float> output(kFrames, static_cast<int>(num_channels));
ReadAndWriteTest(input,