r4047 - in trunk/bse: . tests
- From: stw svn gnome org
- To: svn-commits-list gnome org
- Subject: r4047 - in trunk/bse: . tests
- Date: Tue, 31 Oct 2006 08:55:01 -0500 (EST)
Author: stw
Date: 2006-10-31 08:54:59 -0500 (Tue, 31 Oct 2006)
New Revision: 4047
Modified:
trunk/bse/ChangeLog
trunk/bse/tests/filtertest.cc
trunk/bse/tests/resamplehandle.cc
Log:
Tue Oct 31 13:52:17 2006 Stefan Westerfeld <stefan space twc de>
* tests/filtertest.cc: Raise coefficient comparision epsilon ceps
8e-13 for Chebychev filters, as recommended by Tim, so that "make
check" on AMD64 passes again.
* tests/resamplehandle.cc: Use BseResampler delay compensation C API
where appropriate, instead of computing the delay from the filter
order.
Modified: trunk/bse/ChangeLog
===================================================================
--- trunk/bse/ChangeLog 2006-10-31 01:32:12 UTC (rev 4046)
+++ trunk/bse/ChangeLog 2006-10-31 13:54:59 UTC (rev 4047)
@@ -1,3 +1,13 @@
+Tue Oct 31 13:52:17 2006 Stefan Westerfeld <stefan space twc de>
+
+ * tests/filtertest.cc: Raise coefficient comparision epsilon ceps
+ 8e-13 for Chebychev filters, as recommended by Tim, so that "make
+ check" on AMD64 passes again.
+
+ * tests/resamplehandle.cc: Use BseResampler delay compensation C API
+ where appropriate, instead of computing the delay from the filter
+ order.
+
Mon Oct 30 23:57:03 2006 Tim Janik <timj gtk org>
* tests/filtertest.cc: added brute_coefficient_tests() which can be
Modified: trunk/bse/tests/filtertest.cc
===================================================================
--- trunk/bse/tests/filtertest.cc 2006-10-31 01:32:12 UTC (rev 4046)
+++ trunk/bse/tests/filtertest.cc 2006-10-31 13:54:59 UTC (rev 4047)
@@ -453,7 +453,7 @@
TSTART ("Chebyshev1");
bool success;
double eps;
- const double ceps = 3.5e-13, gaineps = 1e-7;
+ const double ceps = 8e-13, gaineps = 1e-7;
BseIIRFilterDesign fdes;
BseIIRFilterRequest req = { BseIIRFilterKind (0), };
req.kind = BSE_IIR_FILTER_CHEBYSHEV1;
Modified: trunk/bse/tests/resamplehandle.cc
===================================================================
--- trunk/bse/tests/resamplehandle.cc 2006-10-31 01:32:12 UTC (rev 4046)
+++ trunk/bse/tests/resamplehandle.cc 2006-10-31 13:54:59 UTC (rev 4047)
@@ -277,7 +277,7 @@
bse_resampler2_process_block (resampler, in, INPUT_SIZE, out);
- int delay = bse_resampler2_order (resampler) + 2;
+ int delay = bse_resampler2_delay (resampler);
for (i = 0; i < 2048; i++)
{
double expected = sin ((i - delay) * 220 * 2 * M_PI / 44100)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]