CueControl: Fix previewing regression from PR #2194#3267
CueControl: Fix previewing regression from PR #2194#3267daschuer merged 1 commit intomixxxdj:mainfrom
Conversation
|
@daschuer Please verify if this fixes the issue reported in https://bugs.launchpad.net/mixxx/+bug/1903002. |
|
It is still there. I experienced now also the issue when jumping back ward. |
daschuer
left a comment
There was a problem hiding this comment.
Are you able to reproduce it?
Yes, sometimes the m_iCurrentlyPlayingHotcues semaphore is not updated properly: |
|
I'm pretty sure |
|
Uh that is problematic, because sometimes the m_iCurrentlyPreviewingHotcues is test to 0 because of an earlier check of the same value. A Atomic allwn will not help. Too bad. |
|
We need to refactor isPlayingByPlayButton() to something like. |
|
Here's some log output: Apparently the issue is in the 3 block where |
|
I have a hunch that this is caused by |
|
Let's merge this, as it fixes an issue when pressing 2 hotcue buttons concurrently. The other issue is also present in the 2.3 branch and also happens with regular cues, so it was not caused by #2194. |
|
I can confirm that 2.3 is also affected by the issue. When this happens the hotcue_X_enabled control also sticks with 1, which is somehow correct :-/ |
|
I got it. It it: seekAbs(position); It happens that the engine with higher priority processes the seek before the play is set. I will issue a PR. |
|
I did swap it locally but I could still reproduce the issue IIRC. Worth a try anyway. |
|
Swapping does not work: |
No description provided.