Skip to content

Commit

Permalink
fix: sync rate using the current BPM instead of the original one
Browse files Browse the repository at this point in the history
  • Loading branch information
acolombier committed Sep 24, 2024
1 parent 2332548 commit 33855e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ Item {
id: propBPM
}
Mixxx.ControlProxy {
group: viewModel.leaderGroup
group: '[InternalClock]'
key: "bpm"
id: propMasterBPM
}
Expand Down
4 changes: 3 additions & 1 deletion src/test/controllershareddata_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
#include "util/color/colorpalette.h"
#include "util/time.h"

using namespace std::chrono_literals;

const RuntimeLoggingCategory logger(QString("test").toLocal8Bit());

class ControllerSharedDataTest : public MixxxTest {
protected:
void SetUp() override {
mixxx::Time::setTestMode(true);
mixxx::Time::setTestElapsedTime(mixxx::Duration::fromMillis(10));
mixxx::Time::addTestTime(10ms);
pRuntimeData = std::make_shared<ControllerSharedData>(nullptr);
cEngineA = new ControllerScriptEngineLegacy(nullptr, logger);
cEngineA->setSharedData(pRuntimeData->namespaced("testNS"));
Expand Down

0 comments on commit 33855e9

Please sign in to comment.