-
-
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
locking a mutex from the audio thread when reading cues #11282
Comments
If the regression is really from #4771 then it seems like the problem lies in the mixxx/src/engine/controls/cuecontrol.cpp Lines 1270 to 1278 in 7307fc9
We could either revert it as a quick fix or put it in somewhere that is not called from the audio thread ( |
We "just" need to introduce a control object like for the other cue points.
Sure, there is room for optimization ... |
I highly doubt thats the best solution. What does the current bug look like? Audio buffer underruns because of priority inversion? |
I have not noticed that as a bug, it was a catch during debuging, but this may cause a buffer underrun whenever setting a cue point in a playing track.
Yes, It is sufficient to cache the position value in a |
@daschuer Can we close this? |
Yes. |
Bug Description
This is a regression from #4771
The used mutexes are here:
mixxx/src/track/cue.cpp
Line 141 in 006fc86
mixxx/src/track/track.cpp
Line 961 in 006fc86
Version
2.4-alpha
OS
all
The text was updated successfully, but these errors were encountered: