Skip to content
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

Merged
merged 5 commits into from
Oct 26, 2018
Merged

Conversation

daschuer
Copy link
Member

@daschuer daschuer commented Jun 2, 2018

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.

@daschuer
Copy link
Member Author

This is ready to merge. Who wants to review this?
It removes some legacy and could be the base of future considerations.

@daschuer
Copy link
Member Author

daschuer commented Oct 4, 2018

@rryan can you have a look to this? Thanks.

@@ -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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m_pCONumSamplers?

while (m_auxiliaries.size() < num) {
addAuxiliaryInner();
}
}

void PlayerManager::addDeck() {
Copy link
Member

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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the comment

@rryan
Copy link
Member

rryan commented Oct 21, 2018

@rryan can you have a look to this? Thanks.

I just had a few comments, LGTM otherwise. Thanks!

@rryan
Copy link
Member

rryan commented Oct 26, 2018

mac build was simply a timeout, thanks!

@rryan rryan merged commit 0de0894 into mixxxdj:master Oct 26, 2018
@daschuer daschuer deleted the valueChangedFromEngine branch September 7, 2021 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants