lib/minim/src/ddf/minim/ugens/Summer.java
// we'll sum the audio generated by all of the ugens patched to us.
we'll sum the audio generated by all of the ugens patched to us.
we ' ll sum the audio generated by all of the ugens patched to us .
@Override
	protected void addInput(UGen input)
	{
		input.setChannelCount( channelCount() );
		synchronized( m_ugens )
		{
			m_ugens.add( input );
		}
	}
@ Override protected void addInput ( UGen input ) { input . setChannelCount ( channelCount ( ) ) ; synchronized ( m_ugens ) { m_ugens . add ( input ) ; } }
we'll sum the audio generated by all of the ugens patched to us.
we ' ll sum the audio generated by all of the ugens patched to us .
// Minim.debug( "Bus::addInput - Adding " + input + " to the m_ugens list of " + this ); // it needs to know how many channels of audio we expect // we set the channel count before adding because concurrency means // that we might try to tick input between the add finishing and // setAudioChannelCount completing.