com.sun.media.sound
Class SoftReceiver
java.lang.Object
com.sun.media.sound.SoftReceiver
- All Implemented Interfaces:
- javax.sound.midi.Receiver
public class SoftReceiver
- extends java.lang.Object
- implements javax.sound.midi.Receiver
Software synthesizer MIDI receiver class.
- Author:
- Karl Helgason
Method Summary |
void |
close()
|
void |
send(javax.sound.midi.MidiMessage message,
long timeStamp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
open
protected boolean open
midimessages
protected java.util.TreeMap<java.lang.Long,java.lang.Object> midimessages
mainmixer
protected SoftMainMixer mainmixer
SoftReceiver
public SoftReceiver(SoftSynthesizer synth)
send
public void send(javax.sound.midi.MidiMessage message,
long timeStamp)
- Specified by:
send
in interface javax.sound.midi.Receiver
close
public void close()
- Specified by:
close
in interface javax.sound.midi.Receiver