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

Diff of /jsampler/trunk/src/org/jsampler/task/SetChannelMidiInputPort.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 the MIDI input port of a specific sampler channel.
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class SetChannelMidiInputPort extends EnhancedTask {  public class SetChannelMidiInputPort extends EnhancedTask {
38          private int channel;          private int channel;
39          private int port;          private int port;
40                    
41            /**
42             * Creates new instance of <code>SetChannelMidiInputPort</code>.
43             * @param channel The sampler channel number.
44             * @param port The MIDI input port number
45             * of the MIDI input device connected to the specified sampler channel.
46             */
47          public          public
48          SetChannelMidiInputPort(int channel, int port) {          SetChannelMidiInputPort(int channel, int port) {
49                  setTitle("SetChannelMidiInputPort_task");                  setTitle("SetChannelMidiInputPort_task");
# Line 49  public class SetChannelMidiInputPort ext Line 55  public class SetChannelMidiInputPort ext
55                  this.port = port;                  this.port = port;
56          }          }
57                    
58            /** The entry point of the task. */
59          public void          public void
60          run() {          run() {
61                  try { CC.getClient().setChannelMidiInputPort(channel, port); }                  try { CC.getClient().setChannelMidiInputPort(channel, port); }

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

  ViewVC Help
Powered by ViewVC