Skip to content

Commit

Permalink
Fix test sample values
Browse files Browse the repository at this point in the history
Previously, x0.98 gain was applied for all input audio sources. As it's
no longer needed, the new values should be specified as reference for
the tests.
  • Loading branch information
SuslikV committed Mar 16, 2020
1 parent dff4201 commit 54a82ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/FFmpegReader_Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ TEST(FFmpegReader_Check_Audio_File)
CHECK_CLOSE(0.0f, samples[50], 0.00001);
CHECK_CLOSE(0.0f, samples[100], 0.00001);
CHECK_CLOSE(0.0f, samples[200], 0.00001);
CHECK_CLOSE(0.160781f, samples[230], 0.00001);
CHECK_CLOSE(-0.06125f, samples[300], 0.00001);
CHECK_CLOSE(0.16406f, samples[230], 0.00001);
CHECK_CLOSE(-0.06250f, samples[300], 0.00001);

// Close reader
r.Close();
Expand Down

0 comments on commit 54a82ff

Please sign in to comment.