lib/minim/src/ddf/minim/javasound/FloatSampleBuffer.java
/**
	 * Removes a channel. If lazy is true, the channel is not physically
	 * removed, but only hidden. These hidden channels are reused by subsequent
	 * calls to addChannel or insertChannel.
	 */
Removes a channel. If lazy is true, the channel is not physically
removed, but only hidden. These hidden channels are reused by subsequent
calls to addChannel or insertChannel.
Removes a channel . If lazy is true the channel is not physically removed but only hidden . These hidden channels are reused by subsequent calls to addChannel or insertChannel .
public void removeChannel(int channel, boolean lazy) {
		float[] toBeDeleted = (float[]) channels[channel];
		for (int i = channel; i < this.channelCount - 1; i++) {
			channels[i] = channels[i + 1];
		}
		if (!lazy) {
			grow(this.channelCount - 1, true);
		} else {
			channels[this.channelCount - 1] = toBeDeleted;
		}
		setChannelCountImpl(channelCount - 1);
	}
public void removeChannel ( int channel , boolean lazy ) { float [ ] toBeDeleted = ( float [ ] ) channels [ channel ] ; for ( int i = channel ; i < this . channelCount - 1 ; i ++ ) { channels [ i ] = channels [ i + 1 ] ; } if ( ! lazy ) { grow ( this . channelCount - 1 , true ) ; } else { channels [ this . channelCount - 1 ] = toBeDeleted ; } setChannelCountImpl ( channelCount - 1 ) ; }
Removes a channel.
Removes a channel .
// move all channels after it // if not already, insert this channel at the end