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.
24 lines
449 B
C++
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();
|
|
}
|