Receiver
to MidiDeviceReceiver.
| Modifier and Type | Field and Description |
|---|---|
| private final MidiDevice | |
| private final Receiver |
| Access | Constructor and Description |
|---|---|
| public | MidiDeviceReceiverEnvelope(MidiDevice
the owner device, Receiver MidiDevicethe receiver)Receiver to be envelopedCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements javax. Indicates that the application has finished using the receiver, and that limited resources it requires may be released or made available. |
| public MidiDevice | getMidiDevice()
Implements javax. Obtains a |
| public Receiver | Returns: the enveloped receiverObtains the receiver enveloped
by this |
| public void | send(MidiMessage message, long timeStamp)
Implements javax. Sends a MIDI message and time-stamp to this receiver. |
| device | back to summary |
|---|---|
| private final MidiDevice device | |
| receiver | back to summary |
|---|---|
| private final Receiver receiver | |
| MidiDeviceReceiverEnvelope | back to summary |
|---|---|
| public MidiDeviceReceiverEnvelope(MidiDevice device, Receiver receiver) Creates a new
| |
| close | back to summary |
|---|---|
| public void close() Implements javax. Doc from javax. Indicates that the application has finished using the receiver, and that limited resources it requires may be released or made available.
If the creation of this
| |
| getMidiDevice | back to summary |
|---|---|
| public MidiDevice getMidiDevice() Implements javax. Doc from javax. Obtains a
| |
| getReceiver | back to summary |
|---|---|
| public Receiver getReceiver() Obtains the receiver enveloped
by this
| |
| send | back to summary |
|---|---|
| public void send(MidiMessage message, long timeStamp) Implements javax. Doc from javax. Sends a MIDI message and time-stamp to this receiver. If time-stamping is not supported by this receiver, the time-stamp value should be -1.
| |