The new rendering pipeline strives to simplify the nodes themselves as much as possible and move much of the logic to an external rendering engine. This change removes all of the responsibilities that no longer belong to the nodes themselves and will soon be folded into the renderer.
24 lines
414 B
C++
24 lines
414 B
C++
#ifndef AUDIOINPUT_H
|
|
#define AUDIOINPUT_H
|
|
|
|
#include "../media.h"
|
|
|
|
class AudioInput : public MediaInput
|
|
{
|
|
public:
|
|
AudioInput();
|
|
|
|
virtual QString Name() override;
|
|
virtual QString id() override;
|
|
virtual QString Category() override;
|
|
virtual QString Description() override;
|
|
|
|
protected:
|
|
virtual QVariant Value(NodeOutput* output) override;
|
|
|
|
private:
|
|
NodeOutput* samples_output_;
|
|
};
|
|
|
|
#endif // AUDIOINPUT_H
|