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 |
* |
* |
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. |
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 |
} |
} |