/[svn]/jsampler/trunk/src/org/jsampler/task/SetSoloChannel.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/task/SetSoloChannel.java

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

revision 910 by iliev, Thu Mar 16 18:08:34 2006 UTC revision 911 by iliev, Mon Aug 7 18:25:58 2006 UTC
# Line 31  import static org.jsampler.JSI18n.i18n; Line 31  import static org.jsampler.JSI18n.i18n;
31    
32    
33  /**  /**
34   *   * This task solos/unsolos a specific sampler channel.
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class SetSoloChannel extends EnhancedTask {  public class SetSoloChannel extends EnhancedTask {
38          private int channel;          private int channel;
39          private boolean solo;          private boolean solo;
40                    
41            /**
42             * Creates new instance of <code>SetSoloChannel</code>.
43             * @param channel The sampler channel number.
44             * @param solo Specify <code>true</code> to solo the specified channel,
45             * <code>false</code> otherwise.
46             */
47          public          public
48          SetSoloChannel(int channel, boolean solo) {          SetSoloChannel(int channel, boolean solo) {
49                  setTitle("SetSoloChannel_task");                  setTitle("SetSoloChannel_task");
# Line 47  public class SetSoloChannel extends Enha Line 53  public class SetSoloChannel extends Enha
53                  this.solo = solo;                  this.solo = solo;
54          }          }
55                    
56            /** The entry point of the task. */
57          public void          public void
58          run() {          run() {
59                  try { CC.getClient().setChannelSolo(channel, solo); }                  try { CC.getClient().setChannelSolo(channel, solo); }

Legend:
Removed from v.910  
changed lines
  Added in v.911

  ViewVC Help
Powered by ViewVC