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

cue preview does not work when jumping #10200

Open
mixxxbot opened this issue Aug 23, 2022 · 6 comments
Open

cue preview does not work when jumping #10200

mixxxbot opened this issue Aug 23, 2022 · 6 comments

Comments

@mixxxbot
Copy link
Collaborator

Reported by: daschuer
Date: 2020-11-05T07:31:39Z
Status: Confirmed
Importance: High
Launchpad Issue: lp1903002


When pressing a loop cue button the track seeks to the loop and starts playing.
When releasing the button it continues "sometimes" to play.
I have the impression that it only happnes if the track have been seeked forward to the loop.
This was tested with LateNigt and Shade skin and current main branch.

@mixxxbot
Copy link
Collaborator Author

Commented by: Holzhaus
Date: 2020-11-05T11:08:10Z


Looks like sometimes m_iCurrentlyPreviewingHotcues is not incremented properly.

 void CueControl::hotcueActivatePreview(HotcueControl* pControl, double value) {
+    qWarning() << "CueControl::hotcueActivatePreview" << value << m_iCurrentlyPreviewingHotcues;
     QMutexLocker lock(&m_mutex);
     if (!m_pLoadedTrack) {
         return;

warning [Main] CueControl::hotcueActivatePreview 1 0
warning [Main] CueControl::hotcueActivatePreview 0 1
warning [Main] CueControl::hotcueActivatePreview 1 0
warning [Main] CueControl::hotcueActivatePreview 0 1
warning [Main] CueControl::hotcueActivatePreview 1 0
warning [Main] CueControl::hotcueActivatePreview 0 1
warning [Main] CueControl::hotcueActivatePreview 1 0
warning [Main] CueControl::hotcueActivatePreview 0 0

@mixxxbot
Copy link
Collaborator Author

Commented by: Holzhaus
Date: 2020-11-05T11:27:15Z


Found a pretty easy way to reproduce:

  1. Start previewing a hotcue using the mouse
  2. Start previewing the same hotcue using the keyboard or a controller
  3. Release both in no particular order

@mixxxbot
Copy link
Collaborator Author

Commented by: Holzhaus
Date: 2020-11-05T11:32:24Z


Please test #3267.

@mixxxbot
Copy link
Collaborator Author

Commented by: Holzhaus
Date: 2020-11-05T14:35:55Z


I can also reproduce the issue with regular cues on the 2.3 branch, so has not been caused by PR #⁠2194. Nonetheless, PR #⁠3267 fixes an issue introduced by the saved loops feature and should be merged anyway.

@mixxxbot
Copy link
Collaborator Author

Commented by: Holzhaus
Date: 2020-11-05T14:51:00Z


Here's a little Demo on the 2.3 branch: https://www.youtube.com/watch?v=lyUa2JhRRps

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2020-11-05T21:38:50Z


One Part of the issue is fixed here:
#3268

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant