public PolyphaseFIRDecimatingFilter_RB(float[] coefficients,int decimationRatio,float gain){
  mDecimationRatio=decimationRatio;
  mGain=gain;
  createFilterStages(coefficients,mDecimationRatio);
  mFilterStagePointer=mFilterStages.size() - 1;
}

public PolyphaseFIRDecimatingFilter_RB ( float [ ] coefficients , int decimationRatio , float gain ) { mDecimationRatio = decimationRatio ; mGain = gain ; createFilterStages ( coefficients , mDecimationRatio ) ; mFilterStagePointer = mFilterStages . size ( ) - 1 ; }
polyphase filter stage for decimating real - valued sample buffers by the decimation ratio . creates a number of polyphase filter arms / stages equal to the decimation ratio . note : output real - valued buffer sizes are determined by the first input buffer that is presented to the filter where the output buffer size is equal to the floor of the input buffer size divided by the decimation ratio .
