1
0
mirror of https://gitee.com/drabel/LibQQt.git synced 2025-01-04 10:18:44 +08:00
LibQQt/test/voicetest/mainwindow.h
2019-02-28 16:35:23 +08:00

37 lines
808 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <qqtaudiomanager.h>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow ( QWidget* parent = 0 );
~MainWindow();
QAudioDeviceInfo findInputAudioDeviceInfoByName ( QString devName );
QAudioDeviceInfo findOutputAudioDeviceInfoByName ( QString devName );
private slots:
void readyRead();
void currentInputRowChanged ( QModelIndex, QModelIndex );
void currentOutputRowChanged ( QModelIndex, QModelIndex );
void on_pushButton_2_clicked();
void on_pushButton_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
private:
Ui::MainWindow* ui;
QQtAudioManager manager;
};
#endif // MAINWINDOW_H