Skip to content

Commit

Permalink
test/cuecontrol_test: Fix compile error due to missing method
Browse files Browse the repository at this point in the history
The test was added in mixxxdj#2593 but the Track::setSampleRate method was removed in
didn't help detecting this in this case.
  • Loading branch information
Holzhaus committed Apr 9, 2020
1 parent fec775d commit 0d75373
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test/cuecontrol_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,11 @@ TEST_F(CueControlTest, FollowCueOnQuantize) {
config()->set(ConfigKey("[Controls]", "CueRecall"),
ConfigValue(static_cast<int>(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;
Expand Down

0 comments on commit 0d75373

Please sign in to comment.