From bc8d2ebccb48531c7d32d63c608561e495cbd7a3 Mon Sep 17 00:00:00 2001 From: mick grierson Date: Mon, 29 Jun 2015 16:01:29 +0100 Subject: updating examples --- .../iOS/ofxMaximiPhone0062Example/src/testApp.h | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 ofxMaxim/examples/iOS/ofxMaximiPhone0062Example/src/testApp.h (limited to 'ofxMaxim/examples/iOS/ofxMaximiPhone0062Example/src/testApp.h') diff --git a/ofxMaxim/examples/iOS/ofxMaximiPhone0062Example/src/testApp.h b/ofxMaxim/examples/iOS/ofxMaximiPhone0062Example/src/testApp.h new file mode 100755 index 0000000..ac944e5 --- /dev/null +++ b/ofxMaxim/examples/iOS/ofxMaximiPhone0062Example/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; + +}; + + -- cgit v1.3