/[svn]/linuxsampler/trunk/src/engines/gig/EngineChannel.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/engines/gig/EngineChannel.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2610 by schoenebeck, Thu Jun 5 00:16:25 2014 UTC revision 2611 by schoenebeck, Mon Jun 9 19:20:37 2014 UTC
# Line 106  namespace LinuxSampler { namespace gig { Line 106  namespace LinuxSampler { namespace gig {
106                  throw InstrumentManagerException("resource was not created");                  throw InstrumentManagerException("resource was not created");
107              }              }
108    
109                if (newInstrument->ScriptSlotCount() > 1) {
110                    std::cerr << "WARNING: Executing more than one real-time instrument script slot is not implemented yet!\n";
111                }
112              ::gig::Script* script = newInstrument->GetScriptOfSlot(0);              ::gig::Script* script = newInstrument->GetScriptOfSlot(0);
113              if (script) {              if (script) {
114                  String sourceCode = script->GetScriptAsText();                  String sourceCode = script->GetScriptAsText();
115                  loadInstrumentScript(sourceCode);                  LoadInstrumentScript(sourceCode);
116              }              }
117          }          }
118          catch (RIFF::Exception e) {          catch (RIFF::Exception e) {

Legend:
Removed from v.2610  
changed lines
  Added in v.2611

  ViewVC Help
Powered by ViewVC