lib/minim/src/ddf/minim/UGen.java
/**
	 * Connect the output of this UGen to a specific UGenInput of a UGen.
	 * 
	 * @param connectToInput
	 * 			The UGenInput to patch to.
	 * @return the UGen that owns connectToInput
	 */
Connect the output of this UGen to a specific UGenInput of a UGen.

@param connectToInput
The UGenInput to patch to.
Connect the output of this UGen to a specific UGenInput of a UGen . @param connectToInput The UGenInput to patch to .
public final UGen patch(UGenInput connectToInput)
	{
		setSampleRate( connectToInput.getOuterUGen().m_sampleRate );
		connectToInput.setIncomingUGen( this );
		m_nOutputs += 1;
		Minim.debug( "m_nOutputs = " + m_nOutputs );
		return connectToInput.getOuterUGen();
	}
public final UGen patch ( UGenInput connectToInput ) { setSampleRate ( connectToInput . getOuterUGen ( ) . m_sampleRate ) ; connectToInput . setIncomingUGen ( this ) ; m_nOutputs += 1 ; Minim . debug ( "m_nOutputs = " + m_nOutputs ) ; return connectToInput . getOuterUGen ( ) ; }
Connect the output of this UGen to a specific UGenInput of a UGen.
Connect the output of this UGen to a specific UGenInput of a UGen .
// TODO jam3: m_nOutputs should only increase when this chain will be // ticked!