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

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

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

  ViewVC Help
Powered by ViewVC