Lines Matching refs:receiver
228 * Obtains a MIDI receiver from an external MIDI port
230 * The returned receiver always implements
236 * it is used to identify the device that provides the default receiver.
242 * <p>If a native receiver provided by the default device does not implement
246 * to the native receiver.
260 * @return the default MIDI receiver
261 * @throws MidiUnavailableException if the default receiver is not
268 Receiver receiver;
270 receiver = ((ReferenceCountingDevice) device).getReceiverReferenceCounting();
272 receiver = device.getReceiver();
274 if (!(receiver instanceof MidiDeviceReceiver)) {
275 receiver = new MidiDeviceReceiverEnvelope(device, receiver);
277 return receiver;
493 throw new MidiUnavailableException("no receiver available");