1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Possibly correct some cases of clicky playback or corrupt recording...

... By reusing portaudio's ring buffer class, which has more safe
inter-thread synchronization with memory fences
This commit is contained in:
Paul Licameli
2018-03-17 23:41:27 -04:00
parent 7b658d7925
commit 6dca4f7859
3 changed files with 72 additions and 3 deletions

View File

@@ -245,4 +245,10 @@
// Easy change of keystroke bindings for menu items
#define EXPERIMENTAL_EASY_CHANGE_KEY_BINDINGS
// PRL 17 Mar 2018
// Hoping to commit to use of this branch before 2.3.0 is out.
// Don't use our own RingBuffer class, but reuse PortAudio's which includes
// proper memory fences.
#undef EXPERIMENTAL_REWRITE_RING_BUFFER
#endif