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

Bugfix seek and play commands #738

Merged
merged 15 commits into from Oct 28, 2015
Merged

Bugfix seek and play commands #738

merged 15 commits into from Oct 28, 2015

Conversation

daschuer
Copy link
Member

@daschuer
Copy link
Member Author

https://bugs.launchpad.net/mixxx/+bug/1467057 is also fixed by this PR

@daschuer
Copy link
Member Author

The reported error is a Travis VM error.

This PR also fixes Bug https://bugs.launchpad.net/mixxx/+bug/1504643


// Add SEEK_PHASE bit, if any
seekType |= static_cast<SeekRequests>(
m_iSeekPhaseQueued.fetchAndStoreRelease(SEEK_NONE));
Copy link
Member

Choose a reason for hiding this comment

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

this interface is now confusing because m_iSeekQueued could still be set to SEEK_PHASE
It looks like SEEK_PHASE should be removed, and m_iSeekPhaseQueued should only be set to true or false

@daschuer
Copy link
Member Author

m_iSeekPhaseQueued is now used as a boolean

@daschuer
Copy link
Member Author

Checks faild because of the famous Travis error:

No output has been received in the last 10 minutes, this potentially indicates a stalled build or something wrong with the build itself.

@daschuer
Copy link
Member Author

Done.

@daschuer
Copy link
Member Author

@ywwg: ready for merge?

@DJChloe
Copy link
Contributor

DJChloe commented Oct 27, 2015

Thank you for this big fix :)

@DJChloe
Copy link
Contributor

DJChloe commented Oct 27, 2015

Could be good to mark the bug reports as fixed :)

@daschuer
Copy link
Member Author

I have added fixes for some corner cases.
Please test and review again.
Thank you.

https://bugs.launchpad.net/mixxx/+bug/1510291

@DJChloe
Copy link
Contributor

DJChloe commented Oct 27, 2015

For this one, it's fixed :
https://bugs.launchpad.net/mixxx/+bug/1504503
👍

@DJChloe
Copy link
Contributor

DJChloe commented Oct 28, 2015

Do not consider this post, mistake

@@ -401,12 +402,19 @@ void EngineBuffer::queueNewPlaypos(double newpos, enum SeekRequest seekType) {
// All seeks need to be done in the Engine thread so queue it up.
// Write the position before the seek type, to reduce a possible race
// condition effect
m_queuedPosition.setValue(newpos);
DEBUG_ASSERT_AND_HANDLE(seekType != SEEK_PHASE) {
// SEEK_PASE with a position is not supported
Copy link
Member

Choose a reason for hiding this comment

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

typo -> SEEK_PHASE

@ywwg
Copy link
Member

ywwg commented Oct 28, 2015

small typo, then LGTM

@daschuer
Copy link
Member Author

Thank you for review!

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.

None yet

3 participants