replace Arecord with Qtmultimedia (requiers pulse?)
This commit is contained in:
@ -11,6 +11,7 @@
|
||||
#include <QScopedPointer>
|
||||
#include <QEventLoop>
|
||||
#include <QTimer>
|
||||
#include <QAbstractButton>
|
||||
#include <vector>
|
||||
|
||||
class Microcontroller: public QObject
|
||||
@ -25,7 +26,7 @@ private:
|
||||
QString _buffer;
|
||||
|
||||
void processMicroReturn();
|
||||
void getState();
|
||||
void requestState();
|
||||
|
||||
public:
|
||||
Microcontroller(QIODevice* port);
|
||||
@ -33,6 +34,7 @@ public:
|
||||
~Microcontroller();
|
||||
bool connected();
|
||||
void setIODevice(QIODevice* port);
|
||||
std::vector<bool> getLastState();
|
||||
|
||||
public slots:
|
||||
void rgbOn();
|
||||
|
Reference in New Issue
Block a user