summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/resampler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/resampler.cc b/test/resampler.cc
index 12732c1..4d277ff 100644
--- a/test/resampler.cc
+++ b/test/resampler.cc
@@ -47,7 +47,7 @@ public:
CHResampler r;
DGUNIT_ASSERT_EQUAL(1.0, r.getRatio());
- r.setup(44100, 48000);
+ r.setup(44100.0, 48000.0);
DGUNIT_ASSERT_EQUAL(44100.0/48000.0, r.getRatio());
float in[BUFSZ];