/[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 841 by iliev, Mon Oct 10 16:03:12 2005 UTC revision 842 by iliev, Thu Mar 16 18:08:34 2006 UTC
# Line 27  import java.util.logging.Level; Line 27  import java.util.logging.Level;
27  import org.jsampler.CC;  import org.jsampler.CC;
28  import org.jsampler.HF;  import org.jsampler.HF;
29    
 import net.sf.juife.AbstractTask;  
   
30  import static org.jsampler.JSI18n.i18n;  import static org.jsampler.JSI18n.i18n;
31    
32    
# Line 36  import static org.jsampler.JSI18n.i18n; Line 34  import static org.jsampler.JSI18n.i18n;
34   *   *
35   * @author Grigor Iliev   * @author Grigor Iliev
36   */   */
37  public class SetChannelAudioOutputDevice extends AbstractTask {  public class SetChannelAudioOutputDevice extends EnhancedTask {
38          private int channel;          private int channel;
39          private int deviceID;          private int deviceID;
40                    
# Line 52  public class SetChannelAudioOutputDevice Line 50  public class SetChannelAudioOutputDevice
50          }          }
51                    
52          public void          public void
         stop() { CC.cleanExit(); }  
           
         public void  
53          run() {          run() {
54                  try { CC.getClient().setChannelAudioOutputDevice(channel, deviceID); }                  try { CC.getClient().setChannelAudioOutputDevice(channel, deviceID); }
55                  catch(Exception x) {                  catch(Exception x) {

Legend:
Removed from v.841  
changed lines
  Added in v.842

  ViewVC Help
Powered by ViewVC