mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 17:11:17 +02:00
Don't use scrubbing poller thread on Linux, it's not safe yet
This commit is contained in:
commit
fbde633e52
@ -24,7 +24,11 @@ class AudacityProject;
|
|||||||
// Conditionally compile either a separate thead, or else use a timer in the main
|
// Conditionally compile either a separate thead, or else use a timer in the main
|
||||||
// thread, to poll the mouse and update scrubbing speed and direction. The advantage of
|
// thread, to poll the mouse and update scrubbing speed and direction. The advantage of
|
||||||
// a thread may be immunity to choppy scrubbing in case redrawing takes too much time.
|
// a thread may be immunity to choppy scrubbing in case redrawing takes too much time.
|
||||||
|
#ifdef __WXGTK__
|
||||||
|
// Unfortunately some things the thread needs to do are not thread safe
|
||||||
|
#else
|
||||||
#define USE_SCRUB_THREAD
|
#define USE_SCRUB_THREAD
|
||||||
|
#endif
|
||||||
|
|
||||||
// For putting an increment of work in the scrubbing queue
|
// For putting an increment of work in the scrubbing queue
|
||||||
struct ScrubbingOptions {
|
struct ScrubbingOptions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user