28 lines
584 B
C
28 lines
584 B
C
|
#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
|