AudioControl.h

00001 #ifndef AUDIOCONTROL_H
00002 #define AUDIOCONTROL_H
00003 
00004 #include "JackComponent.h"
00005 #include "Patch.h"
00006 
00007 
00009 
00014 class AudioControl
00015 {
00016     bool jackSetup;
00017     bool libPdSetup;
00018     bool libPdInit;
00019 public:
00021 
00023     AudioControl(bool,bool,bool);
00025 
00027     void setJackSetup(bool);
00028     void setLibPdSetup(bool);
00029     void setLibPdInit(bool);
00030     bool getJackSetup();
00031     bool getLibPdSetup();
00032     bool getLibPdInit();
00034 
00037     int setupJack();
00039 
00042     void initLibPD();
00044 
00046     int setupLibPD();
00048 
00050     std::string* convertString(std::string);
00052 
00055     int enablePatch(std::string*);
00057 
00059     int disablePatch(std::string*);
00061 
00063     void startPatch(std::string*);
00065 
00067     void stopPatch();
00069 
00071     std::string* getPatch();
00073 
00075     void selectPatch(std::string*);
00077 
00080     void adjustDial(float,std::string);
00081 };
00082 
00083 #endif // AUDIOCONTROL_H
 All Classes Functions