AudioFilterFIR: improved comments

feature_setBlockSize
Chip Audette 8 years ago
parent 556d9d92ab
commit 197cf60ad3
  1. 2
      AudioFilterFIR_F32.h

@ -85,7 +85,7 @@ void AudioFilterFIR_F32::update(void)
if (block->length != configured_block_size) { if (block->length != configured_block_size) {
//doesn't match. re-initialize //doesn't match. re-initialize
Serial.println("AudioFilterFIR_F32: block size doesn't match. Re-initializing FIR."); Serial.println("AudioFilterFIR_F32: block size doesn't match. Re-initializing FIR.");
begin(coeff_p, n_coeffs, block->length); begin(coeff_p, n_coeffs, block->length); //initialize with same coefficients, just a new block length
} }
//apply the FIR //apply the FIR
arm_fir_f32(&fir_inst, (float32_t *)block->data, (float32_t *)b_new->data, block->length); arm_fir_f32(&fir_inst, (float32_t *)block->data, (float32_t *)b_new->data, block->length);

Loading…
Cancel
Save