use smarter audio cache that can only have partial sections cached

This commit is contained in:
itsmattkc
2022-05-24 16:07:18 -07:00
parent b97c314183
commit 2090d076fe
8 changed files with 75 additions and 532 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ QString FrameHashCache::CachePathName(const rational &time) const
QString FrameHashCache::CachePathName(const QString &cache_path, const QUuid &cache_id, const int64_t &time)
{
QString filename = QDir(QDir(cache_path).filePath(cache_id.toString())).filePath(QString::number(time));
QString filename = GetThisCacheDirectory(cache_path, cache_id).filePath(QString::number(time));
// Register that in some way this hash has been accessed
if (DiskManager::instance()) {