diff options
| author | Chris Kiefer <chrisk13fer@gmail.com> | 2012-02-22 12:10:20 +0000 |
|---|---|---|
| committer | Chris Kiefer <chrisk13fer@gmail.com> | 2012-02-22 12:10:20 +0000 |
| commit | 0c65d2ad2162db3ffbea3e3175675ad4b4598688 (patch) | |
| tree | 5b1d6bd8b9dbe4069b8bf1a9bddb374d957c2cab /ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h | |
| parent | 9f073116e8b21af58415204edecf42fec5f2c3ed (diff) | |
| parent | bb60cd352f53f4600913d2152032dd4aff228520 (diff) | |
resolved merge conflicts
Diffstat (limited to 'ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h')
| -rw-r--r-- | ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h b/ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h new file mode 100644 index 0000000..ee11865 --- /dev/null +++ b/ofxMaxim/ofxMaximExamples007OSX/ofMaximExample007OSX/src/testApp.h @@ -0,0 +1,40 @@ +#pragma once + +#include "ofMain.h" +#include "ofxMaxim.h" + + +class testApp : public ofBaseApp{ + + public: + ~testApp();/* destructor is very useful */ + void setup(); + void update(); + void draw(); + + void keyPressed (int key); + void keyReleased(int key); + void mouseMoved(int x, int y ); + void mouseDragged(int x, int y, int button); + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); + void windowResized(int w, int h); + void dragEvent(ofDragInfo dragInfo); + void gotMessage(ofMessage msg); + + void audioRequested (float * input, int bufferSize, int nChannels); /* output method */ + void audioReceived (float * input, int bufferSize, int nChannels); /* input method */ + + int initialBufferSize; /* buffer size */ + int sampleRate; + + + /* stick you maximilian stuff below */ + + double wave,sample,outputs[2]; + ofxMaxiMix mymix; + ofxMaxiOsc sine1; + ofxMaxiSample beats,beat; + + +}; |
