X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fresampler_test.cc;h=3be251b3a75129c0daa83f8182ab19f7df51dc42;hb=1f8b45c7fd49714628009f5ed2161fbaa2b4d729;hp=9247159a7065b1a46ecf06d49f74f8cfdbab6695;hpb=08b57ee2ed41b9de995080ff7b4fd84d8cec4002;p=dcpomatic.git diff --git a/test/resampler_test.cc b/test/resampler_test.cc index 9247159a7..3be251b3a 100644 --- a/test/resampler_test.cc +++ b/test/resampler_test.cc @@ -34,13 +34,13 @@ resampler_test_one (int from, int to) /* 3 hours */ int64_t const N = int64_t (from) * 60 * 60 * 3; - + + /* XXX: no longer checks anything */ for (int64_t i = 0; i < N; i += 1000) { shared_ptr a (new AudioBuffers (1, 1000)); a->make_silent (); - pair, AudioContent::Frame> r = resamp.run (a, i); - BOOST_CHECK_EQUAL (r.second, total_out); - total_out += r.first->frames (); + shared_ptr r = resamp.run (a); + total_out += r->frames (); } }