20 #ifndef AUDIORECORDERFORQT_H
21 #define AUDIORECORDERFORQT_H
23 #include "../../core/audio/recorder/audiorecorderadapter.h"
24 #include <QAudioInput>
50 void start()
override;
65 #endif // AUDIORECORDERFORQT_H
Abstract adapter class for recording audio signals.
int16_t DataFormat
Data format of the input/output stream.
void start() override
Start/restart the audio device.
void exit() override
Destroy the audio device.
AudioRecorderForQt(QObject *parent)
void init() override
Inizialize the audio device.
QAudioInput * mAudioInput
virtual void setDeviceInputGain(double volume) overridefinal
virtual double getDeviceInputGain() const overridefinal
static const DataFormat SIGNAL_SCALING
maximal alloed value of the stream
virtual ~AudioRecorderForQt()
void stop() override
Stop the audio device.