Files
oak-editor/app/node/input/media/audio/audio.h
T
itsmattkc a9660201f1 miscellaneous other changes to make audio rendering work
Many changes were made throughout the codebase to support audio, these are
most of the small changes necessary.

The audio support still is not perfect. I still need to write in resampling
support. After that it should work correctly with all audio types.
2019-11-15 13:57:49 +09:00

26 lines
447 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;
NodeOutput* samples_output();
protected:
virtual QVariant Value(NodeOutput* output) override;
private:
NodeOutput* samples_output_;
};
#endif // AUDIOINPUT_H