Files
oak-editor/app/render/backend/audio/audiobackend.h
T
itsmattkc 40b3879440 overhauled render classes to support video AND audio
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.
2019-11-15 13:50:58 +09:00

38 lines
681 B
C++

#ifndef AUDIOBACKEND_H
#define AUDIOBACKEND_H
#include <QFile>
#include "../audiorenderbackend.h"
class AudioBackend : public AudioRenderBackend
{
Q_OBJECT
public:
AudioBackend(QObject* parent = nullptr);
virtual ~AudioBackend() override;
virtual QIODevice* GetAudioPullDevice() override;
protected:
virtual bool InitInternal() override;
virtual void CloseInternal() override;
virtual bool CompileInternal() override;
virtual void DecompileInternal() override;
virtual void ConnectWorkerToThis(RenderWorker* worker) override;
private slots:
void ThreadCompletedCache(NodeDependency dep);
private:
QFile pull_device_;
};
#endif // AUDIOBACKEND_H