package vermilion;

/**
 * Defines a type for connecting MachineBase objects. This is simply a 
 * placeholder for data and does no work. The work is done in
 * MachineBase.fillBufferInternal.
 */
public class SimpleWire
{
    /**
     * The machine instance this wire 'reads from'.
     */
    public MachineBase input;

    /**
     * The machine instance this wire 'writes to'.
     */
    public MachineBase output;

    /**
     * The channel selection for this wire.
     */
    public int channel = 0;

    /**
     * The left volume for this wire.
     */
    public float amplitudeL = 1.0f;

    /**
     * The right volume for this wire.
     */
    public float amplitudeR = 1.0f; 
}
