24 |
|
|
25 |
#include "Engine.h" |
#include "Engine.h" |
26 |
#include "EngineChannel.h" |
#include "EngineChannel.h" |
27 |
|
#include "InstrumentScriptVM.h" |
28 |
|
|
29 |
namespace LinuxSampler { namespace sfz { |
namespace LinuxSampler { namespace sfz { |
30 |
Engine::Format Engine::GetEngineFormat() { return SFZ; } |
Engine::Format Engine::GetEngineFormat() { return SFZ; } |
31 |
|
|
32 |
|
void Engine::CreateInstrumentScriptVM() { |
33 |
|
dmsg(2,("sfz::Engine created SFZ format scriptvm\n")); |
34 |
|
if (pScriptVM) return; |
35 |
|
pScriptVM = new InstrumentScriptVM; // sfz format specific extended script runner |
36 |
|
} |
37 |
|
|
38 |
Engine::Engine() { |
Engine::Engine() { |
39 |
pCCPool = new Pool<CCSignalUnit::CC>(GLOBAL_MAX_VOICES * MaxCCPerVoice); |
pCCPool = new Pool<CCSignalUnit::CC>(GLOBAL_MAX_VOICES * MaxCCPerVoice); |