Parent Directory | Revision Log | Patch
revision 2330 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; |
|
ViewVC Help | |
Powered by ViewVC |