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

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

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

revision 1875 by schoenebeck, Wed Mar 18 22:16:14 2009 UTC revision 1876 by schoenebeck, Fri Mar 27 12:16:12 2009 UTC
# Line 233  namespace LinuxSampler { namespace gig { Line 233  namespace LinuxSampler { namespace gig {
233          }          }
234      }      }
235    
236      InstrumentEditor* InstrumentResourceManager::LaunchInstrumentEditor(instrument_id_t ID) throw (InstrumentManagerException) {      InstrumentEditor* InstrumentResourceManager::LaunchInstrumentEditor(instrument_id_t ID, void* pUserData) throw (InstrumentManagerException) {
237          const String sDataType    = GetInstrumentDataStructureName(ID);          const String sDataType    = GetInstrumentDataStructureName(ID);
238          const String sDataVersion = GetInstrumentDataStructureVersion(ID);          const String sDataVersion = GetInstrumentDataStructureVersion(ID);
239          // find instrument editors capable to handle given instrument          // find instrument editors capable to handle given instrument
# Line 260  namespace LinuxSampler { namespace gig { Line 260  namespace LinuxSampler { namespace gig {
260          InstrumentEditorProxies.add(pProxy);          InstrumentEditorProxies.add(pProxy);
261          InstrumentEditorProxiesMutex.Unlock();          InstrumentEditorProxiesMutex.Unlock();
262          // launch the instrument editor for the given instrument          // launch the instrument editor for the given instrument
263          pEditor->Launch(pInstrument, sDataType, sDataVersion);          pEditor->Launch(pInstrument, sDataType, sDataVersion, pUserData);
264    
265          // register the instrument editor as virtual MIDI device as well ...          // register the instrument editor as virtual MIDI device as well ...
266          VirtualMidiDevice* pVirtualMidiDevice =          VirtualMidiDevice* pVirtualMidiDevice =

Legend:
Removed from v.1875  
changed lines
  Added in v.1876

  ViewVC Help
Powered by ViewVC