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

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

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

revision 2114 by persson, Tue Aug 10 12:05:19 2010 UTC revision 2127 by persson, Wed Sep 22 18:59:16 2010 UTC
# Line 37  namespace LinuxSampler { namespace sf2 { Line 37  namespace LinuxSampler { namespace sf2 {
37          // fully loaded, try to give back instrument again (see bug #113)          // fully loaded, try to give back instrument again (see bug #113)
38          InstrumentChangeCmd< ::sf2::Region, ::sf2::Preset>& cmd = ChangeInstrument(NULL);          InstrumentChangeCmd< ::sf2::Region, ::sf2::Preset>& cmd = ChangeInstrument(NULL);
39          if (cmd.pInstrument) {          if (cmd.pInstrument) {
40                  InstrumentResourceManager* instrs = dynamic_cast<InstrumentResourceManager*>(pEngine->GetInstrumentManager());              Engine::instruments.HandBack(cmd.pInstrument, this);
                 instrs->HandBack(cmd.pInstrument, this);  
41          }          }
42          ///////          ///////
43      }      }

Legend:
Removed from v.2114  
changed lines
  Added in v.2127

  ViewVC Help
Powered by ViewVC