lib/minim/src/ddf/minim/javasound/FloatSampleBuffer.java
/**
	 * Initialize this sample buffer to have the specified channels, sample
	 * count, and sample rate. If lazy is true, as much as possible will
	 * existing arrays be reused. Otherwise, any hidden channels are freed.
	 * 
	 * @param newChannelCount
	 * @param newSampleCount
	 * @param newSampleRate
	 * @param lazy
	 * @throws IllegalArgumentException if newChannelCount or newSampleCount are
	 *             negative, or newSampleRate is not positive.
	 */
Initialize this sample buffer to have the specified channels, sample
count, and sample rate. If lazy is true, as much as possible will
existing arrays be reused. Otherwise, any hidden channels are freed.


Initialize this sample buffer to have the specified channels sample count and sample rate . If lazy is true as much as possible will existing arrays be reused . Otherwise any hidden channels are freed .
public void init(int newChannelCount, int newSampleCount,
			float newSampleRate, boolean lazy) {
		if (newChannelCount < 0 || newSampleCount < 0 || newSampleRate <= 0.0f) {
			throw new IllegalArgumentException(
					"invalid parameters in initialization of FloatSampleBuffer.");
		}
		setSampleRate(newSampleRate);
		if (this.sampleCount != newSampleCount
				|| this.channelCount != newChannelCount) {
			createChannels(newChannelCount, newSampleCount, lazy);
		}
	}
public void init ( int newChannelCount , int newSampleCount , float newSampleRate , boolean lazy ) { if ( newChannelCount < 0 || newSampleCount < 0 || newSampleRate <= 0.0f ) { throw new IllegalArgumentException ( "invalid parameters in initialization of FloatSampleBuffer." ) ; } setSampleRate ( newSampleRate ) ; if ( this . sampleCount != newSampleCount || this . channelCount != newChannelCount ) { createChannels ( newChannelCount , newSampleCount , lazy ) ; } }
Initialize this sample buffer to have the specified channels, sample
 count, and sample rate.
Initialize this sample buffer to have the specified channels sample count and sample rate .