1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-06 15:19:29 +02:00
Paul Licameli 22f48d31e1 Rewrite RingBuffer with standard atomics...
... Contrary to the old comments, this class was no longer thread safe with
multi-core, because of the possibility of out-of-order reads and writes.

Use the minimal necessary memory ordering, not the default and maybe expensive
std::memory_order_seq_cst

At least one clicky recording has been seen where many small groups of
samples, a common power in two in size, seem to get displaced rightward.

I suspect out of order reads and writes might have caused that and this commit
might prevent it.
2018-06-19 14:04:34 -04:00
..
2018-06-19 11:58:45 +01:00
2018-05-24 13:20:53 +01:00
2018-04-07 20:28:27 +01:00
2018-03-31 23:28:08 -04:00
2018-03-31 19:47:16 +01:00
2018-03-25 14:48:01 -04:00
2018-03-25 21:41:55 +01:00
2018-03-15 05:21:04 -04:00
2018-03-15 05:21:04 -04:00
2018-05-10 00:56:36 -04:00
2018-05-14 21:09:07 +01:00
2018-03-26 18:04:36 -04:00
2018-06-05 18:14:36 +01:00
2018-05-10 00:56:36 -04:00
2018-03-31 19:47:16 +01:00
2018-05-10 00:56:36 -04:00
2018-05-10 00:56:36 -04:00
2018-04-07 20:28:27 +01:00