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.
23 lines
450 B
C++
23 lines
450 B
C++
#ifndef AUDIOWORKER_H
|
|
#define AUDIOWORKER_H
|
|
|
|
#include "../audiorenderworker.h"
|
|
|
|
class AudioWorker : public AudioRenderWorker
|
|
{
|
|
public:
|
|
AudioWorker(DecoderCache* decoder_cache, QObject* parent = nullptr);
|
|
|
|
protected:
|
|
virtual QVariant FrameToValue(FramePtr frame) override;
|
|
|
|
virtual bool OutputIsAccelerated(NodeOutput *output) override;
|
|
|
|
virtual QVariant RunNodeAccelerated(NodeOutput *output) override;
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
#endif // AUDIOWORKER_H
|