freeswitch/fscomm/preferences/prefportaudio.h
João Mesquita e78063d0cb FSPHONE-1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-14 05:05:32 +00:00

35 lines
696 B
C++

#ifndef PREFPORTAUDIO_H
#define PREFPORTAUDIO_H
#include <QObject>
#include <QDomDocument>
#include "ui_prefdialog.h"
class QSettings;
class PrefPortaudio : public QObject
{
Q_OBJECT
public:
explicit PrefPortaudio(Ui::PrefDialog *ui, QObject *parent = 0);
void writeConfig();
void readConfig();
private slots:
void ringFileChoose();
void holdFileChoose();
void indevChangeDev(int);
void outdevChangeDev(int);
void ringdevChangeDev(int);
void ringdevTest();
void loopTest();
void refreshDevList();
private:
void getPaDevlist(void);
QSettings *_settings;
Ui::PrefDialog *_ui;
QDomDocument _xmlPaDevList;
};
#endif // PREFPORTAUDIO_H