1 #ifdef SWIG
2 %module csnd
3 #endif
4 #include "csound.hpp"
5 extern "C" long csoundGetKcounter(CSOUND *csound);
6 
7 
8 class PUBLIC AndroidCsound : public Csound {
9   int asyncProcess;
10 public:
AndroidCsound(bool async=true)11     AndroidCsound(bool async=true) : Csound::Csound(){
12       asyncProcess = async;
13     }
14     void setOpenSlCallbacks();
15     int SetGlobalEnv(const char* name, const char* variable);
16     unsigned long getStreamTime();
17     void Pause(bool pause);
GetKcount()18     long GetKcount(){ return csoundGetKcounter(csound); }
19 };
20