Main Page | Namespaces | Classes | Compounds | Files | Compound Members | Related SynthEngine.cpp00001 // 00002 // SYNTOPIA. See http://Syntopia.sourceforge.net for details and documentation. 00003 // 00004 // Author of this file: Mikael Hvidtfeldt Christensen (mikaelc@users.sourceforge.net) 00005 // 00006 00007 #include "SynthEngine.h" 00008 #include "Synth.h" 00009 00010 using namespace SynthCore; 00011 00012 long SynthEngine::Globalstep = 0; 00013 00014 SynthEngine * SynthEngine::EngineInstance = 0; 00015 00016 Synth * SynthEngine::mySynth = 0; 00017 00018 SynthEngine::SynthEngine() { 00019 SynthEngine::EngineInstance = this; 00020 SynthEngine::Globalstep = 0; 00021 samplerate=48000.0f; 00022 mySynth = 0; 00023 }; 00024 00025 00026 void SynthEngine::active(bool b) {mySynth->active = b;} 00027 00028 bool SynthEngine::isActive(bool b) {return mySynth->active;} 00029 Docs made by Doxygen. Email: Mikael Christensen |