/[svn]/jsampler/trunk/src/org/jsampler/MidiDeviceModel.java
ViewVC logotype

Diff of /jsampler/trunk/src/org/jsampler/MidiDeviceModel.java

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

revision 1142 by iliev, Mon Aug 7 18:25:58 2006 UTC revision 1143 by iliev, Mon Apr 2 21:18:31 2007 UTC
# Line 1  Line 1 
1  /*  /*
2   *   JSampler - a java front-end for LinuxSampler   *   JSampler - a java front-end for LinuxSampler
3   *   *
4   *   Copyright (C) 2005 Grigor Kirilov Iliev   *   Copyright (C) 2005-2006 Grigor Iliev <grigor@grigoriliev.com>
5   *   *
6   *   This file is part of JSampler.   *   This file is part of JSampler.
7   *   *
# Line 51  public interface MidiDeviceModel { Line 51  public interface MidiDeviceModel {
51           * @return The numerical ID of this MIDI device or           * @return The numerical ID of this MIDI device or
52           * -1 if the device number is not set.           * -1 if the device number is not set.
53           */           */
54          public int getDeviceID();          public int getDeviceId();
55                    
56          /**          /**
57           * Gets the current settings of the MIDI device represented by this model.           * Gets the current settings of the MIDI device represented by this model.
# Line 78  public interface MidiDeviceModel { Line 78  public interface MidiDeviceModel {
78           * else the device is disabled.           * else the device is disabled.
79           */           */
80          public void setActive(boolean active);          public void setActive(boolean active);
81            
82            /**
83             * Schedules a new task for enabling/disabling the MIDI device.
84             * @param active If <code>true</code> the MIDI device is enabled,
85             * else the device is disabled.
86             */
87            public void setBackendActive(boolean active);
88            
89            /**
90             * Schedules a new task for changing the port number of the MIDI device.
91             * @param ports The new number of ports.
92             */
93            public void setBackendPortCount(int ports);
94            
95            /**
96             * Schedules a new task for altering a specific
97             * setting of the specified MIDI input port.
98             * @param port The port number.
99             * @param prm The parameter to be set.
100             */
101            public void setBackendPortParameter(int port, Parameter prm);
102  }  }

Legend:
Removed from v.1142  
changed lines
  Added in v.1143

  ViewVC Help
Powered by ViewVC