Skip to content

Commit

Permalink
chore(signalpathtest): Rename variable to m_sMainGroup
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Sep 10, 2023
1 parent 161f1e1 commit 5ad3c48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/test/signalpathtest.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "test/signalpathtest.h"

const QString BaseSignalPathTest::m_sMasterGroup = QStringLiteral("[Master]");
const QString BaseSignalPathTest::m_sMainGroup = QStringLiteral("[Master]");
const QString BaseSignalPathTest::m_sInternalClockGroup = QStringLiteral("[InternalClock]");
// these names need to match PlayerManager::groupForDeck and friends
const QString BaseSignalPathTest::m_sGroup1 = QStringLiteral("[Channel1]");
Expand Down
8 changes: 4 additions & 4 deletions src/test/signalpathtest.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ class BaseSignalPathTest : public MixxxTest, SoundSourceProviderRegistration {
BaseSignalPathTest() {
m_pControlIndicatorTimer = std::make_unique<mixxx::ControlIndicatorTimer>();
m_pChannelHandleFactory = std::make_shared<ChannelHandleFactory>();
m_pNumDecks = new ControlObject(ConfigKey(m_sMasterGroup, "num_decks"));
m_pNumDecks = new ControlObject(ConfigKey(m_sMainGroup, "num_decks"));
m_pEffectsManager = new EffectsManager(config(), m_pChannelHandleFactory);
m_pEngineMixer = new TestEngineMixer(m_pConfig,
m_sMasterGroup,
m_sMainGroup,
m_pEffectsManager,
m_pChannelHandleFactory,
false);
Expand Down Expand Up @@ -119,7 +119,7 @@ class BaseSignalPathTest : public MixxxTest, SoundSourceProviderRegistration {
addDeck(m_pChannel3);

m_pEngineSync = m_pEngineMixer->getEngineSync();
ControlObject::set(ConfigKey(m_sMasterGroup, "enabled"), 1.0);
ControlObject::set(ConfigKey(m_sMainGroup, "enabled"), 1.0);

PlayerInfo::create();
}
Expand Down Expand Up @@ -249,7 +249,7 @@ class BaseSignalPathTest : public MixxxTest, SoundSourceProviderRegistration {
EngineDeck *m_pChannel1, *m_pChannel2, *m_pChannel3;
PreviewDeck* m_pPreview1;

static const QString m_sMasterGroup;
static const QString m_sMainGroup;
static const QString m_sInternalClockGroup;
static const QString m_sGroup1;
static const QString m_sGroup2;
Expand Down

0 comments on commit 5ad3c48

Please sign in to comment.