simplified and optimized samplebuffer

This commit is contained in:
itsmattkc
2022-05-09 14:55:51 -07:00
parent 58c4600d04
commit bb0fedabba
47 changed files with 214 additions and 252 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ bool PreCacheTask::FrameDownloaded(FramePtr frame, const QByteArray &hash, const
return true;
}
bool PreCacheTask::AudioDownloaded(const TimeRange &range, SampleBufferPtr samples)
bool PreCacheTask::AudioDownloaded(const TimeRange &range, const SampleBuffer &samples)
{
// Pre-cache doesn't cache any audio
+1 -1
View File
@@ -40,7 +40,7 @@ protected:
virtual bool FrameDownloaded(FramePtr frame, const QByteArray& hash, const QVector<rational>& times) override;
virtual bool AudioDownloaded(const TimeRange& range, SampleBufferPtr samples) override;
virtual bool AudioDownloaded(const TimeRange& range, const SampleBuffer &samples) override;
private:
Project* project_;