From bc5068afa1e9ca38ded4918f8cd54aa0561df885 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sat, 30 May 2020 15:20:14 +1000 Subject: [PATCH] audiocache: ensure cached ranges are actually marked as validated For some reason, the audio cache never validated itself leading to an endless loop of trying to re-render it. This is fixed now. --- app/render/audioplaybackcache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/render/audioplaybackcache.cpp b/app/render/audioplaybackcache.cpp index a48d3c3eb..6aa389318 100644 --- a/app/render/audioplaybackcache.cpp +++ b/app/render/audioplaybackcache.cpp @@ -81,6 +81,8 @@ void AudioPlaybackCache::WritePCM(const TimeRange &range, SampleBufferPtr sample } f.close(); + + Validate(range); } else { qWarning() << "Failed to write PCM data to" << filename_; }