/[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 1321 by schoenebeck, Tue Sep 4 01:12:49 2007 UTC revision 1455 by persson, Sun Oct 21 11:59:59 2007 UTC
# Line 25  Line 25 
25    
26  #include "InstrumentResourceManager.h"  #include "InstrumentResourceManager.h"
27    
28  #include "../InstrumentEditorFactory.h"  #include "../../common/global_private.h"
29    #include "../../plugins/InstrumentEditorFactory.h"
30    
31  // We need to know the maximum number of sample points which are going to  // We need to know the maximum number of sample points which are going to
32  // be processed for each render cycle of the audio output driver, to know  // be processed for each render cycle of the audio output driver, to know
# Line 167  namespace LinuxSampler { namespace gig { Line 168  namespace LinuxSampler { namespace gig {
168              InstrumentEditorProxiesMutex.Unlock();              InstrumentEditorProxiesMutex.Unlock();
169              std::cerr << "Eeeek, could not find instrument editor proxy, this is a bug!\n" << std::flush;              std::cerr << "Eeeek, could not find instrument editor proxy, this is a bug!\n" << std::flush;
170          }          }
171          // free the editor  
172          InstrumentEditorFactory::Destroy(pSender);          // Note that we don't need to free the editor here. As it
173            // derives from Thread, it will delete itself when the thread
174            // dies.
175      }      }
176    
177      void InstrumentResourceManager::OnSamplesToBeRemoved(std::set<void*> Samples, InstrumentEditor* pSender) {      void InstrumentResourceManager::OnSamplesToBeRemoved(std::set<void*> Samples, InstrumentEditor* pSender) {

Legend:
Removed from v.1321  
changed lines
  Added in v.1455

  ViewVC Help
Powered by ViewVC