diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-16 19:37:55 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-06-16 19:37:55 +0200 |
commit | 9f90e689af4730d37c7d1fffb1821145aeb88d1f (patch) | |
tree | 584860138ca6fb3b1c62967181ad793ea1cd602c | |
parent | 7df4a9fce8d3008befc0718a6ea9fafdaecf3c6b (diff) |
Clarify samplerate types in resampler unit-test.
-rw-r--r-- | test/resampler.cc | 2 |
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]; |