com.sun.media.sound
Class SoftReceiver

java.lang.Object
  extended by 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

Field Summary
protected  SoftMainMixer mainmixer
           
protected  java.util.TreeMap<java.lang.Long,java.lang.Object> midimessages
           
protected  boolean open
           
 
Constructor Summary
SoftReceiver(SoftSynthesizer synth)
           
 
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
 

Field Detail

open

protected boolean open

midimessages

protected java.util.TreeMap<java.lang.Long,java.lang.Object> midimessages

mainmixer

protected SoftMainMixer mainmixer
Constructor Detail

SoftReceiver

public SoftReceiver(SoftSynthesizer synth)
Method Detail

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