various: enabled config saving
This commit is contained in:
@@ -238,11 +238,11 @@ QList<TimeRange> AudioPlaybackCache::GetValidRanges(const TimeRange& range, cons
|
||||
|
||||
void AudioPlaybackCache::UpdateFilename(const QString &s)
|
||||
{
|
||||
filename_ = QDir(GetCacheFilename()).filePath(s);
|
||||
filename_ = QDir(GetCacheDirectory()).filePath(s);
|
||||
filename_.append(QStringLiteral(".pcm"));
|
||||
}
|
||||
|
||||
const QString &AudioPlaybackCache::GetCacheFilename() const
|
||||
const QString &AudioPlaybackCache::GetPCMFilename() const
|
||||
{
|
||||
return filename_;
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
|
||||
//void SetUuid(const QUuid& id);
|
||||
|
||||
const QString& GetCacheFilename() const;
|
||||
const QString& GetPCMFilename() const;
|
||||
|
||||
QList<TimeRange> GetValidRanges(const TimeRange &range, const qint64 &job_time);
|
||||
|
||||
|
||||
@@ -297,9 +297,12 @@ QVariant OpenGLProxy::RunNodeAccelerated(const Node *node,
|
||||
|
||||
switch (data_type) {
|
||||
case NodeInput::kInt:
|
||||
// kInt technically specifies a LongLong, but OpenGL doesn't support those. This may lead to
|
||||
// over/underflows if the number is large enough, but the likelihood of that is quite low.
|
||||
shader->setUniformValue(variable_location, value.toInt());
|
||||
break;
|
||||
case NodeInput::kFloat:
|
||||
// kFloat technically specifies a double but as above, OpenGL doesn't support those.
|
||||
shader->setUniformValue(variable_location, value.toFloat());
|
||||
break;
|
||||
case NodeInput::kVec2:
|
||||
|
||||
Reference in New Issue
Block a user