Major refactoring work to try sharing as much code as possible between the video renderers and audio renderers, as well as make them as platform-independent as possible.
24 lines
437 B
C++
24 lines
437 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;
|
|
}
|
|
|
|
QVariant AudioWorker::RunNodeAccelerated(NodeOutput *output)
|
|
{
|
|
Q_UNUSED(output)
|
|
return QVariant();
|
|
}
|