JSampler
v0.8a

org.jsampler.task
Class Audio.EnableDevice

java.lang.Object
  extended by 
      extended by org.jsampler.task.EnhancedTask
          extended by org.jsampler.task.Audio.EnableDevice
Enclosing class:
Audio

public static class Audio.EnableDevice
extends EnhancedTask

This task enables/disables a specific audio output device.


Constructor Summary
Audio.EnableDevice(int dev, boolean enable)
          Creates new instance of EnableDevice.
 
Method Summary
 void run()
          The entry point of the task.
 
Methods inherited from class org.jsampler.task.EnhancedTask
isStopped, setErrorDetails, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Audio.EnableDevice

public Audio.EnableDevice(int dev,
                          boolean enable)
Creates new instance of EnableDevice.

Parameters:
dev - The id of the device to be enabled/disabled.
enable - Specify true to enable the audio device; code>false to disable it.
Method Detail

run

public void run()
The entry point of the task.


JSampler
v0.8a

Copyright © 2007 Grigor Iliev. All rights reserved.