/[svn]/jlscp/trunk/src/org/linuxsampler/lscp/MidiInputDevice.java
ViewVC logotype

Diff of /jlscp/trunk/src/org/linuxsampler/lscp/MidiInputDevice.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1493 by iliev, Mon Apr 2 20:43:58 2007 UTC revision 1494 by iliev, Mon Nov 19 22:00:04 2007 UTC
# Line 28  package org.linuxsampler.lscp; Line 28  package org.linuxsampler.lscp;
28   * @author  Grigor Iliev   * @author  Grigor Iliev
29   */   */
30  public class MidiInputDevice extends AbstractDevice {  public class MidiInputDevice extends AbstractDevice {
31            private Parameter<Integer> ports = null;
32          private MidiPort[] midiPorts = new MidiPort[0];          private MidiPort[] midiPorts = new MidiPort[0];
33                    
34          /** Creates a new instance of MidiInputDevice */          /** Creates a new instance of MidiInputDevice */
# Line 53  public class MidiInputDevice extends Abs Line 54  public class MidiInputDevice extends Abs
54          }          }
55                    
56          /**          /**
57             * Gets the <code>PORTS</code> parameter.
58             * @return A <code>Parameter<Integer></code> instance.
59             */
60            public Parameter<Integer>
61            getPortsParameter() { return ports; }
62            
63            /**
64             * Sets the <code>PORTS</code> parameter.
65             * @param ports The new <code>PORTS</code> parameter.
66             */
67            public void
68            setPortsParameter(Parameter<Integer> ports) { this.ports = ports; }
69            
70            /**
71           * Gets the MIDI port at the specified index.           * Gets the MIDI port at the specified index.
72           * @param index The index of the MIDI port to be retrieved.           * @param index The index of the MIDI port to be retrieved.
73           */           */

Legend:
Removed from v.1493  
changed lines
  Added in v.1494

  ViewVC Help
Powered by ViewVC