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 |
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); |