From 569be2d402920d3cea9574f23d88026e4f24468b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Jan 2017 20:05:29 +0100 Subject: [PATCH] test/test_pcm_export: fix TestDop() sample rate results --- test/test_pcm_export.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_pcm_export.cxx b/test/test_pcm_export.cxx index 3817b6cf1..f94927645 100644 --- a/test/test_pcm_export.cxx +++ b/test/test_pcm_export.cxx @@ -175,8 +175,8 @@ PcmExportTest::TestDop() PcmExport::Params params; params.dop = true; - CPPUNIT_ASSERT_EQUAL(params.CalcOutputSampleRate(705600u), 176400u); - CPPUNIT_ASSERT_EQUAL(params.CalcInputSampleRate(176400u), 705600u); + CPPUNIT_ASSERT_EQUAL(params.CalcOutputSampleRate(705600u), 352800u); + CPPUNIT_ASSERT_EQUAL(params.CalcInputSampleRate(352800u), 705600u); PcmExport e; e.Open(SampleFormat::DSD, 2, params);