cache: heavily reworked exporting for new system

Also cleans up cache in general and moves it to the Task infrastructure.
This commit is contained in:
itsmattkc
2020-05-19 23:35:17 +10:00
parent cd847a89ce
commit 87e7564222
18 changed files with 414 additions and 263 deletions
+2 -2
View File
@@ -99,7 +99,7 @@ FramePtr RenderWorker::RenderFrame(const rational &time, bool block_for_update)
return frame;
}
SampleBufferPtr RenderWorker::RenderAudio(const TimeRange &range)
SampleBufferPtr RenderWorker::RenderAudio(const TimeRange &range, bool block_for_update)
{
if (!viewer_) {
return nullptr;
@@ -109,7 +109,7 @@ SampleBufferPtr RenderWorker::RenderAudio(const TimeRange &range)
parent_->WorkerStartedRenderingAudio(range);
UpdateData(true);
UpdateData(block_for_update);
audio_render_time_ = range;