From 9327027d984dae8cf98a9fff025a2acc027bd624 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 11 Aug 2022 22:44:38 +0200 Subject: [PATCH] Revert "Ensure disk buffer refills happen in the right thread" This reverts commit 96ebac646d565ca8af0198f53c60b31d0f82fe94. There are some valid cases where refill is called from the GUI thread. e.g adding tracks, or adding channels to an existing track. --- libs/ardour/disk_reader.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/libs/ardour/disk_reader.cc b/libs/ardour/disk_reader.cc index b102cb7bfd..a0b52a40b0 100644 --- a/libs/ardour/disk_reader.cc +++ b/libs/ardour/disk_reader.cc @@ -1158,8 +1158,6 @@ 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;