/[svn]/linuxsampler/trunk/src/Sampler.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/Sampler.cpp

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

revision 1212 by schoenebeck, Tue May 29 23:59:36 2007 UTC revision 1375 by schoenebeck, Wed Oct 3 18:41:09 2007 UTC
# Line 27  Line 27 
27    
28  #include "engines/EngineFactory.h"  #include "engines/EngineFactory.h"
29  #include "engines/EngineChannelFactory.h"  #include "engines/EngineChannelFactory.h"
30  #include "engines/InstrumentEditorFactory.h"  #include "plugins/InstrumentEditorFactory.h"
31  #include "drivers/audio/AudioOutputDeviceFactory.h"  #include "drivers/audio/AudioOutputDeviceFactory.h"
32  #include "drivers/midi/MidiInputDeviceFactory.h"  #include "drivers/midi/MidiInputDeviceFactory.h"
33  #include "drivers/midi/MidiInstrumentMapper.h"  #include "drivers/midi/MidiInstrumentMapper.h"
# Line 67  namespace LinuxSampler { Line 67  namespace LinuxSampler {
67    
68      void SamplerChannel::SetEngineType(String EngineType) throw (Exception) {      void SamplerChannel::SetEngineType(String EngineType) throw (Exception) {
69          dmsg(2,("SamplerChannel: Assigning engine type..."));          dmsg(2,("SamplerChannel: Assigning engine type..."));
70            
71            if (pEngineChannel) {
72                if (!strcasecmp(pEngineChannel->EngineName().c_str(), EngineType.c_str())) {
73                    dmsg(2,("OK\n"));
74                    return;
75                }
76            }
77    
78          // create new engine channel          // create new engine channel
79          EngineChannel* pNewEngineChannel = EngineChannelFactory::Create(EngineType);          EngineChannel* pNewEngineChannel = EngineChannelFactory::Create(EngineType);

Legend:
Removed from v.1212  
changed lines
  Added in v.1375

  ViewVC Help
Powered by ViewVC