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

Diff of /jsampler/trunk/src/org/jsampler/task/SetChannelAudioOutputChannel.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 sets an audio output channel of a specific sampler channel.
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class SetChannelAudioOutputChannel extends EnhancedTask {  public class SetChannelAudioOutputChannel extends EnhancedTask {
# Line 39  public class SetChannelAudioOutputChanne Line 39  public class SetChannelAudioOutputChanne
39          private int audioOut;          private int audioOut;
40          private int audioIn;          private int audioIn;
41                    
42            /**
43             * Creates new instance of <code>SetChannelAudioOutputChannel</code>.
44             * @param channel The sampler channel number.
45             * @param audioOut The sampler channel's audio output channel which should be rerouted.
46             * @param audioIn The audio channel of the selected audio output device where
47             * <code>audioOut</code> should be routed to.
48             */
49          public          public
50          SetChannelAudioOutputChannel(int channel, int audioOut, int audioIn) {          SetChannelAudioOutputChannel(int channel, int audioOut, int audioIn) {
51                  setTitle("SetChannelAudioOutputChannel_task");                  setTitle("SetChannelAudioOutputChannel_task");
# Line 50  public class SetChannelAudioOutputChanne Line 57  public class SetChannelAudioOutputChanne
57                  this.audioIn = audioIn;                  this.audioIn = audioIn;
58          }          }
59                    
60            /** The entry point of the task. */
61          public void          public void
62          run() {          run() {
63                  try { CC.getClient().setChannelAudioOutputChannel(channel, audioOut, audioIn); }                  try { CC.getClient().setChannelAudioOutputChannel(channel, audioOut, audioIn); }

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

  ViewVC Help
Powered by ViewVC