--- jsampler/trunk/src/org/jsampler/CC.java 2007/12/06 19:37:41 1567 +++ jsampler/trunk/src/org/jsampler/CC.java 2008/02/05 23:17:27 1670 @@ -818,6 +818,11 @@ lscpCLient.setChannelMidiInputChannel(chnId, chn.getMidiInputChannel()); } + if(chn.getEngine() != null) { + lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId); + lscpCLient.setChannelVolume(chnId, chn.getVolume()); + } + id = chn.getAudioOutputDevice(); if(id != -1) { for(int i = 0; i < sm.getAudioDeviceCount(); i++) { @@ -837,11 +842,6 @@ } } - if(chn.getEngine() != null) { - lscpCLient.loadSamplerEngine(chn.getEngine().getName(), chnId); - lscpCLient.setChannelVolume(chnId, chn.getVolume()); - } - String s = chn.getInstrumentFile(); int i = chn.getInstrumentIndex(); if(s != null) lscpCLient.loadInstrument(s, i, chnId, true);