00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef JezabelAudioControlPanel_included
00018 #define JezabelAudioControlPanel_included
00019
00020 #include <qvbox.h>
00021 #include <vector>
00022 #include <jezabelpanel.h>
00023 #include <jack/jack.h>
00024 #include <qstring.h>
00025
00026 class JezabelAudioControlPanel : public JezabelPanel{
00027
00028 Q_OBJECT
00029
00030 public:
00031 JezabelAudioControlPanel(const char *name, QWidget *_parent = 0, WFlags f=0 );
00032 void connectPorts();
00033
00034 signals:
00035 void deviceChanged(QString);
00036
00037 public slots:
00038 void selectDevice(int);
00039 void setDevice(QString);
00040
00041 protected:
00042 const char *name;
00043 class JezabelApplication *app;
00044 class QListBox *list;
00045 jack_client_t *jack_client;
00046 vector<char *> deviceNames;
00047 vector<int> deviceNumbers;
00048 vector<int> deviceTypes;
00049 class JezabelJackPatch *input_patch, *output_patch;
00050 };
00051
00052 #endif