Fix another CAS (amend 4ba4cd69ff)

This commit is contained in:
Robin Gareus 2023-03-26 22:16:47 +02:00
parent e36938f305
commit 1dce50e787
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -1272,7 +1272,7 @@ PluginInsert::silence (samplecnt_t nframes, samplepos_t start_sample)
ChanCount maxbuf = ChanCount::max (natural_input_streams (), natural_output_streams());
_session.get_scratch_buffers (maxbuf, true).silence (nframes, 0);
int canderef;
int canderef (1);
if (_stat_reset.compare_exchange_strong (canderef, 0)) {
_timing_stats.reset ();
}