/[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 2593 by schoenebeck, Mon Mar 12 15:14:31 2012 UTC revision 2594 by schoenebeck, Thu Jun 5 00:16:25 2014 UTC
# Line 105  namespace LinuxSampler { namespace gig { Line 105  namespace LinuxSampler { namespace gig {
105              if (!newInstrument) {              if (!newInstrument) {
106                  throw InstrumentManagerException("resource was not created");                  throw InstrumentManagerException("resource was not created");
107              }              }
108    
109                ::gig::Script* script = newInstrument->GetScriptOfSlot(0);
110                if (script) {
111                    String sourceCode = script->GetScriptAsText();
112                    loadInstrumentScript(sourceCode);
113                }
114          }          }
115          catch (RIFF::Exception e) {          catch (RIFF::Exception e) {
116              InstrumentStat = -2;              InstrumentStat = -2;

Legend:
Removed from v.2593  
changed lines
  Added in v.2594

  ViewVC Help
Powered by ViewVC