--- jsampler/trunk/src/org/jsampler/task/SetChannelAudioOutputDevice.java 2006/08/07 18:01:57 910 +++ jsampler/trunk/src/org/jsampler/task/SetChannelAudioOutputDevice.java 2006/08/07 18:25:58 911 @@ -31,13 +31,18 @@ /** - * + * This task sets the audio output device of a specific sampler channel. * @author Grigor Iliev */ public class SetChannelAudioOutputDevice extends EnhancedTask { private int channel; private int deviceID; + /** + * Creates new instance of SetChannelAudioOutputDevice. + * @param channel The sampler channel number. + * @param deviceID The numerical ID of the audio output device. + */ public SetChannelAudioOutputDevice(int channel, int deviceID) { setTitle("SetChannelAudioOutputDevice_task"); @@ -49,6 +54,7 @@ this.deviceID = deviceID; } + /** The entry point of the task. */ public void run() { try { CC.getClient().setChannelAudioOutputDevice(channel, deviceID); }