Files
oak-editor/app/node/input/media/audio/audio.h
T
itsmattkc bc0f01d9a3 make nodes more const friendly and prepare their functions for stateless work
Since the nodes won't be holding any rendering data themselves in this system,
we may as well enforce some level of non-write access by setting all the
functions to const. They were already const-friendly, they just weren't
labelled as such.
2019-12-04 20:10:42 +11:00

28 lines
535 B
C++

#ifndef AUDIOINPUT_H
#define AUDIOINPUT_H
#include "../media.h"
class AudioInput : public MediaInput
{
public:
AudioInput();
virtual Node* copy() const override;
virtual QString Name() const override;
virtual QString id() const override;
virtual QString Category() const override;
virtual QString Description() const override;
NodeOutput* samples_output();
protected:
virtual NodeValueTable Value(const NodeValueDatabase& value) const override;
private:
NodeOutput* samples_output_;
};
#endif // AUDIOINPUT_H