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

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

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

revision 1420 by iliev, Mon Apr 2 20:48:13 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 effect send.   * Provides information about the current settings of a specific effect send.
29   * @author Grigor Iliev   * @author Grigor Iliev
# Line 116  public class FxSend implements Parseable Line 118  public class FxSend implements Parseable
118          public boolean          public boolean
119          parse(String s) throws LscpException {          parse(String s) throws LscpException {
120                  if(s.startsWith("NAME: ")) {                  if(s.startsWith("NAME: ")) {
121                          name = s.substring("NAME: ".length());                          name = toNonEscapedString(s.substring("NAME: ".length()));
122                  } else if(s.startsWith("MIDI_CONTROLLER: ")) {                  } else if(s.startsWith("MIDI_CONTROLLER: ")) {
123                          s = s.substring("MIDI_CONTROLLER: ".length());                          s = s.substring("MIDI_CONTROLLER: ".length());
124                          midiController = Parser.parseInt(s);                          midiController = Parser.parseInt(s);

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

  ViewVC Help
Powered by ViewVC