-
-
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
engine/controls: Remove superfluous notifySeek implementations #3032
Conversation
5299a8c
to
7d462c4
Compare
Okay, so the Sync seek test is failing. Unfortunately I don't know enough here - I thought since the updated position is already processed in
Btw, why I am doing this: I probably need to add a parameter to |
@@ -927,11 +927,6 @@ void BpmControl::slotUpdateRateSlider(double value) { | |||
m_pRateRatio->set(dRateRatio); | |||
} | |||
|
|||
void BpmControl::notifySeek(double dNewPlaypos) { | |||
EngineControl::notifySeek(dNewPlaypos); | |||
updateBeatDistance(); |
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.
This is never called anymore. Could explain the failing test.
ba26d50
to
31cf70d
Compare
This PR is marked as stale because it has been open 90 days with no activity. |
can someone rerun the checks? The logs are expired and I'm not sure anymore whether the failing test was fixed. |
Please pull in |
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.
Hmm, thank you. All tests still pass, so these notifySeek implementations may indeed by superfluous. @daschuer do you want to take another look?
If the tests pass then I'm ok with merging. We have a lot of tests for various seek conditions so it should be sufficiently covered. If we find a missing case, then oh well :) |
Most of the time this isn't needed, because the
process
method is called afterwards and sets the new position anyways.Hand-checked them all, not sure about the scratching yet though.
Tests haven't finished yet.