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

Diff of /jsampler/trunk/src/org/jsampler/task/SetMuteChannel.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 mutes/unmutes a specific sampler channel.
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class SetMuteChannel extends EnhancedTask {  public class SetMuteChannel extends EnhancedTask {
38          private int channel;          private int channel;
39          private boolean mute;          private boolean mute;
40                    
41            /**
42             * Creates new instance of <code>SetMuteChannel</code>.
43             * @param channel The sampler channel to be muted/unmuted.
44             * @param mute If <code>true</code> the specified channel is muted,
45             * else the channel is unmuted.
46             */
47          public          public
48          SetMuteChannel(int channel, boolean mute) {          SetMuteChannel(int channel, boolean mute) {
49                  setTitle("SetMuteChannel_task");                  setTitle("SetMuteChannel_task");
# Line 47  public class SetMuteChannel extends Enha Line 53  public class SetMuteChannel extends Enha
53                  this.mute = mute;                  this.mute = mute;
54          }          }
55                    
56            /** The entry point of the task. */
57          public void          public void
58          run() {          run() {
59                  try { CC.getClient().setChannelMute(channel, mute); }                  try { CC.getClient().setChannelMute(channel, mute); }

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

  ViewVC Help
Powered by ViewVC