/[svn]/jsampler/trunk/src/org/jsampler/CC.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/CC.java

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

revision 1669 by iliev, Thu Dec 6 19:37:41 2007 UTC revision 1670 by iliev, Tue Feb 5 23:17:27 2008 UTC
# Line 818  public class CC { Line 818  public class CC {
818                                  lscpCLient.setChannelMidiInputChannel(chnId, chn.getMidiInputChannel());                                  lscpCLient.setChannelMidiInputChannel(chnId, chn.getMidiInputChannel());
819                          }                          }
820                                                    
821                            if(chn.getEngine() != null) {
822                                    lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId);
823                                    lscpCLient.setChannelVolume(chnId, chn.getVolume());
824                            }
825                            
826                          id = chn.getAudioOutputDevice();                          id = chn.getAudioOutputDevice();
827                          if(id != -1) {                          if(id != -1) {
828                                  for(int i = 0; i < sm.getAudioDeviceCount(); i++) {                                  for(int i = 0; i < sm.getAudioDeviceCount(); i++) {
# Line 837  public class CC { Line 842  public class CC {
842                                  }                                  }
843                          }                          }
844                                                    
                         if(chn.getEngine() != null) {  
                                 lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId);  
                                 lscpCLient.setChannelVolume(chnId, chn.getVolume());  
                         }  
                           
845                          String s = chn.getInstrumentFile();                          String s = chn.getInstrumentFile();
846                          int i = chn.getInstrumentIndex();                          int i = chn.getInstrumentIndex();
847                          if(s != null) lscpCLient.loadInstrument(s, i, chnId, true);                          if(s != null) lscpCLient.loadInstrument(s, i, chnId, true);

Legend:
Removed from v.1669  
changed lines
  Added in v.1670

  ViewVC Help
Powered by ViewVC