test_sdk/hw/gtl_hw_recorder_wav.h

28 lines
584 B
C
Raw Normal View History

#ifndef RECORDER_WAV_H
#define RECORDER_WAV_H
#include "gtl_hw_recorder.h"
#include "hw_global.h"
namespace gtl
{
namespace hw
{
class HW_EXPORT recorder_wav : public recorder
{
public:
explicit recorder_wav(const std::vector<gtl::analog_data*> &ad, qreal time, QString comment, QString dir, QString file, QObject *parent = nullptr);
virtual ~recorder_wav();
private:
bool _is_finished;
protected:
virtual void finish_writing() override;
};
}
}
#endif // RECORDER_WAV_H