/[svn]/jlscp/trunk/src/org/linuxsampler/lscp/SamplerChannel.java
ViewVC logotype

Diff of /jlscp/trunk/src/org/linuxsampler/lscp/SamplerChannel.java

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

revision 1420 by iliev, Mon Apr 2 20:43:58 2007 UTC revision 1421 by iliev, Sun Oct 14 18:08:45 2007 UTC
# Line 22  Line 22 
22    
23  package org.linuxsampler.lscp;  package org.linuxsampler.lscp;
24    
25    import static org.linuxsampler.lscp.Parser.*;
26    
27  /**  /**
28   * Provides information about the current settings of a specific sampler channel.   * Provides information about the current settings of a specific sampler channel.
29   * @author  Grigor Iliev   * @author  Grigor Iliev
# Line 273  public class SamplerChannel implements P Line 275  public class SamplerChannel implements P
275                  } else if(s.startsWith("INSTRUMENT_NAME: ")) {                  } else if(s.startsWith("INSTRUMENT_NAME: ")) {
276                          s = s.substring("INSTRUMENT_NAME: ".length());                          s = s.substring("INSTRUMENT_NAME: ".length());
277                          if(s.equals("NONE")) instrName = null;                          if(s.equals("NONE")) instrName = null;
278                          else instrName = s;                          else instrName = toNonEscapedString(s);
279                  } else if(s.startsWith("INSTRUMENT_STATUS: ")) {                  } else if(s.startsWith("INSTRUMENT_STATUS: ")) {
280                          s = s.substring("INSTRUMENT_STATUS: ".length());                          s = s.substring("INSTRUMENT_STATUS: ".length());
281                          instrStat = Parser.parseInt(s);                          instrStat = Parser.parseInt(s);

Legend:
Removed from v.1420  
changed lines
  Added in v.1421

  ViewVC Help
Powered by ViewVC