Ensure disk buffer refills happen in the right thread

This commit is contained in:
Robin Gareus
2022-08-11 19:14:22 +02:00
parent 63c068227f
commit 96ebac646d

View File

@@ -1158,6 +1158,8 @@ DiskReader::refill_audio (Sample* sum_buffer, Sample* mixdown_buffer, float* gai
return 0;
}
assert (0 == strcmp ("butler", pthread_name ()) || _session.exporting ());
int32_t ret = 0;
samplecnt_t zero_fill;
uint32_t chan_n;