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.
This commit is contained in:
itsmattkc
2020-05-30 15:20:14 +10:00
parent c1ed84b90e
commit bc5068afa1
+2
View File
@@ -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_;
}