renderer: updated audio waveform generated for new cache overhaul

This commit is contained in:
itsmattkc
2020-08-05 22:32:24 +10:00
parent 9a4dcd8277
commit 07a53d45f0
8 changed files with 112 additions and 112 deletions
+15
View File
@@ -21,6 +21,7 @@
#ifndef RENDERTICKET_H
#define RENDERTICKET_H
#include <QDateTime>
#include <QMutex>
#include <QWaitCondition>
@@ -42,6 +43,16 @@ public:
RenderTicket(Type type, const QVariant& time);
qint64 GetJobTime() const
{
return job_time_;
}
void SetJobTime()
{
job_time_ = QDateTime::currentMSecsSinceEpoch();
}
const QVariant& GetTime() const
{
return time_;
@@ -87,10 +98,14 @@ private:
Type type_;
qint64 job_time_;
};
using RenderTicketPtr = std::shared_ptr<RenderTicket>;
OLIVE_NAMESPACE_EXIT
Q_DECLARE_METATYPE(OLIVE_NAMESPACE::RenderTicketPtr)
#endif // RENDERTICKET_H