This was many changes that were largely fundamentally related. They included: - More const modifiers to enforce read only node graphs - Support for fragment and vertex shaders from the nodes - Support for node code loaded externally (embedded into the binary) - Fixed issue preventing two textures from being used in a shader - Removed several unused functions and cleaned up code - Fixed video media node misreading its matrix input
29 lines
633 B
C++
29 lines
633 B
C++
#ifndef AUDIORENDERWORKER_H
|
|
#define AUDIORENDERWORKER_H
|
|
|
|
#include "renderworker.h"
|
|
|
|
class AudioRenderWorker : public RenderWorker
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
AudioRenderWorker(QObject* parent = nullptr);
|
|
|
|
void SetParameters(const AudioRenderingParams& audio_params);
|
|
|
|
protected:
|
|
virtual bool InitInternal() override;
|
|
|
|
virtual void CloseInternal() override;
|
|
|
|
virtual FramePtr RetrieveFromDecoder(DecoderPtr decoder, const TimeRange& range) override;
|
|
|
|
virtual NodeValueTable RenderBlock(const TrackOutput *track, const TimeRange& range) override;
|
|
|
|
private:
|
|
AudioRenderingParams audio_params_;
|
|
|
|
};
|
|
|
|
#endif // AUDIORENDERWORKER_H
|