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