From 0d753736fccd2540101f8ddfa93282910d8dc2cf Mon Sep 17 00:00:00 2001 From: Jan Holthuis Date: Thu, 9 Apr 2020 17:40:47 +0200 Subject: [PATCH] test/cuecontrol_test: Fix compile error due to missing method The test was added in #2593 but the Track::setSampleRate method was removed in didn't help detecting this in this case. --- src/test/cuecontrol_test.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/test/cuecontrol_test.cpp b/src/test/cuecontrol_test.cpp index 8d4d14346eb..94c2f104a43 100644 --- a/src/test/cuecontrol_test.cpp +++ b/src/test/cuecontrol_test.cpp @@ -309,7 +309,11 @@ TEST_F(CueControlTest, FollowCueOnQuantize) { config()->set(ConfigKey("[Controls]", "CueRecall"), ConfigValue(static_cast(SeekOnLoadMode::MainCue))); TrackPointer pTrack = createTestTrack(); - pTrack->setSampleRate(44100); + pTrack->setAudioProperties( + mixxx::kEngineChannelCount, + mixxx::audio::SampleRate(44100), + mixxx::audio::Bitrate(), + mixxx::Duration::fromSeconds(10)); pTrack->setBpm(120.0); const int frameSize = 2;