mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
tests/check/elements/bpwsinc.c: Make one test constraint a bit stricter.
Original commit message from CVS: * tests/check/elements/bpwsinc.c: (GST_START_TEST): Make one test constraint a bit stricter.
This commit is contained in:
parent
e381cedec4
commit
dcb082ccae
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2007-08-12 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
|
* tests/check/elements/bpwsinc.c: (GST_START_TEST):
|
||||||
|
Make one test constraint a bit stricter.
|
||||||
|
|
||||||
2007-08-12 Sebastian Dröge <slomo@circular-chaos.org>
|
2007-08-12 Sebastian Dröge <slomo@circular-chaos.org>
|
||||||
|
|
||||||
* tests/check/Makefile.am:
|
* tests/check/Makefile.am:
|
||||||
|
|
|
@ -254,7 +254,7 @@ GST_START_TEST (test_bp_22050hz)
|
||||||
for (i = 0; i < 1024; i++)
|
for (i = 0; i < 1024; i++)
|
||||||
rms += res[i] * res[i];
|
rms += res[i] * res[i];
|
||||||
rms = sqrt (rms / 1024.0);
|
rms = sqrt (rms / 1024.0);
|
||||||
fail_unless (rms <= 0.3);
|
fail_unless (rms <= 0.1);
|
||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
cleanup_bpwsinc (bpwsinc);
|
cleanup_bpwsinc (bpwsinc);
|
||||||
|
|
Loading…
Reference in a new issue