| Modifier and Type | Class and Description |
|---|---|
| private class | MidiInDevice.
An own class to distinguish the class name from the transmitter of other devices. |
| Modifier and Type | Field and Description |
|---|---|
| private volatile Thread |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | callbackShortMessage(int packedMsg, long
time-stamp in microseconds timeStamp)Callback from native code when a short MIDI event is received from hardware. |
| protected Transmitter | createTransmitter()
Overrides com. Create a Transmitter object. |
| public long | getMicrosecondPosition()
Overrides com. Implements javax. This implementation always returns -1. |
| protected boolean | hasTransmitters()
Overrides com. Returns if this device supports Transmitters. |
| protected synchronized void | |
| protected synchronized void | |
| private native void | |
| private native void | |
| private native long | |
| private native long | |
| private native void | |
| private native void | |
| public void |
| midiInThread | back to summary |
|---|---|
| private volatile Thread midiInThread | |
| MidiInDevice | back to summary |
|---|---|
| pack-priv MidiInDevice(AbstractMidiDeviceProvider. | |
| callbackLongMessage | back to summary |
|---|---|
| pack-priv void callbackLongMessage(byte[] data, long timeStamp) | |
| callbackShortMessage | back to summary |
|---|---|
| pack-priv void callbackShortMessage(int packedMsg, long timeStamp) Callback from native code when a short MIDI event is received from hardware.
| |
| createTransmitter | back to summary |
|---|---|
| protected Transmitter createTransmitter() Overrides com. Doc from com. Create a Transmitter object. throwing an exception here means that Transmitters aren't enabled. Subclasses that use Transmitters should override this method with one that returns objects implementing Transmitters. Classes overriding this method should also override hasTransmitters() to return true.
| |
| getMicrosecondPosition | back to summary |
|---|---|
| public long getMicrosecondPosition() Overrides com. Implements javax. Doc from com. This implementation always returns -1. Devices that actually provide this should over-ride this method.
| |
| hasTransmitters | back to summary |
|---|---|
| protected boolean hasTransmitters() Overrides com. Doc from com. Returns if this device supports Transmitters. Subclasses that use Transmitters should override this method to return true. They also should override createTransmitter().
| |
| implClose | back to summary |
|---|---|
| protected synchronized void implClose() Overrides com.
| |
| implOpen | back to summary |
|---|---|
| protected synchronized void implOpen() throws MidiUnavailableException Implements abstract com.
| |
| nClose | back to summary |
|---|---|
| private native void nClose(long id) | |
| nGetMessages | back to summary |
|---|---|
| private native void nGetMessages(long id) | |
| nGetTimeStamp | back to summary |
|---|---|
| private native long nGetTimeStamp(long id) | |
| nOpen | back to summary |
|---|---|
| private native long nOpen(int index) throws MidiUnavailableException | |
| nStart | back to summary |
|---|---|
| private native void nStart(long id) throws MidiUnavailableException | |
| nStop | back to summary |
|---|---|
| private native void nStop(long id) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| Access | Constructor and Description |
|---|---|
| private |
| MidiInTransmitter | back to summary |
|---|---|
| private MidiInTransmitter() | |