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