-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove valueChangedFromEngine #1700
Conversation
…s. This helps to track the ownership of the CO.
This is ready to merge. Who wants to review this? |
@rryan can you have a look to this? Thanks. |
src/mixer/playermanager.cpp
Outdated
@@ -414,8 +383,8 @@ void PlayerManager::loadSamplers() { | |||
|
|||
void PlayerManager::addSampler() { | |||
QMutexLocker locker(&m_mutex); | |||
addSamplerInner(); | |||
m_pCONumSamplers->set(m_samplers.count()); | |||
double count = m_pCONumDecks->get() + 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m_pCONumSamplers?
src/mixer/playermanager.cpp
Outdated
while (m_auxiliaries.size() < num) { | ||
addAuxiliaryInner(); | ||
} | ||
} | ||
|
||
void PlayerManager::addDeck() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why remove it? for consistency with the other types its nice to have
@@ -1098,7 +1085,7 @@ void EngineBuffer::process(CSAMPLE* pOutput, const int iBufferSize) { | |||
|
|||
void EngineBuffer::processSlip(int iBufferSize) { | |||
// Do a single read from m_bSlipEnabled so we don't run in to race conditions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the comment
I just had a few comments, LGTM otherwise. Thanks! |
mac build was simply a timeout, thanks! |
This removed the valueChangedFromEngine() signal. The name was legacy and now wrong anyway.
It should be named valueChangedOwnSet() or similar.
But we actually don't really need it, with the new ControObject and ControlProxy objects.
I have also replaces a possible race with setting and resetting the various Num Controls.
Now the valueChangeRequest is usedand the num controls are always valid.