Files
oak-editor/app/render/backend/audio/audioworker.cpp
T
itsmattkc f424d8b44e rewrote renderers where necessary for new node structure
Largely conforming renderers to new NodeValue system. Code seems a lot cleaner
this way which is a nice advantage. Likely non-functional as this won't
compile just yet and still needs probably another day or two of testing to get
it back to where it was before.
2019-12-05 03:53:52 +11:00

24 lines
449 B
C++

#include "audioworker.h"
AudioWorker::AudioWorker(DecoderCache *decoder_cache, QObject *parent) :
AudioRenderWorker(decoder_cache, parent)
{
}
QVariant AudioWorker::FrameToValue(FramePtr frame)
{
return frame->ToByteArray();
}
bool AudioWorker::OutputIsAccelerated(NodeOutput *output)
{
Q_UNUSED(output)
return false;
}
NodeValueTable AudioWorker::RunNodeAccelerated(NodeOutput *output)
{
Q_UNUSED(output)
return NodeValueTable();
}