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

35 lines
736 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 on_pushButton_2_clicked();
void currentInputRowChanged ( QModelIndex, QModelIndex );
void currentOutputRowChanged ( QModelIndex, QModelIndex );
void on_pushButton_clicked();
void readyRead();
private:
Ui::MainWindow* ui;
QQtAudioManager manager;
};
#endif // MAINWINDOW_H