diff options
| author | Chris Kiefer <chrisk13fer@gmail.com> | 2011-08-25 15:53:46 +0100 |
|---|---|---|
| committer | Chris Kiefer <chrisk13fer@gmail.com> | 2011-08-25 15:53:46 +0100 |
| commit | f246be00cfd2ab25cb921552e9dd5a12c0605df7 (patch) | |
| tree | 1591103bb4e73328e5e80cea43dc1ec4bede4336 /ofxMaxim/ofxMaximiPhoneExample/src/testApp.h | |
| parent | 955744bad39224a5c9d21d73790599b05a74b04b (diff) | |
| parent | ffcfdd709c296f7304869e6a046ee1496f732b5b (diff) | |
Merge branch 'master' of github.com:micknoise/Maximilian
Diffstat (limited to 'ofxMaxim/ofxMaximiPhoneExample/src/testApp.h')
| -rwxr-xr-x | ofxMaxim/ofxMaximiPhoneExample/src/testApp.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ofxMaxim/ofxMaximiPhoneExample/src/testApp.h b/ofxMaxim/ofxMaximiPhoneExample/src/testApp.h new file mode 100755 index 0000000..ac944e5 --- /dev/null +++ b/ofxMaxim/ofxMaximiPhoneExample/src/testApp.h @@ -0,0 +1,42 @@ +#pragma once + +#include "ofMain.h" +#include "ofxiPhone.h" +#include "ofxiPhoneExtras.h" +#include "ofxMaxim.h" + + +class testApp : public ofxiPhoneApp { + +public: + ~testApp(); + void setup(); + void update(); + void draw(); + void exit(); + + void touchDown(ofTouchEventArgs &touch); + void touchMoved(ofTouchEventArgs &touch); + void touchUp(ofTouchEventArgs &touch); + void touchDoubleTap(ofTouchEventArgs &touch); + + void lostFocus(); + void gotFocus(); + void gotMemoryWarning(); + void deviceOrientationChanged(int newOrientation); + + void audioReceived( float * input, int bufferSize, int nChannels ); + void audioRequested( float * output, int bufferSize, int nChannels ); + + int initialBufferSize; + int sampleRate; + + + ofxMaxiOsc myOsc1; + ofxMaxiSample sample1; + double patch1,sample,outputs1[2]; + ofxMaxiMix channel1; + +}; + + |
