|
|
@ -98,10 +98,9 @@ void AudioFilterFIR_F32::update(void) |
|
|
|
|
|
|
|
|
|
|
|
//apply the FIR
|
|
|
|
//apply the FIR
|
|
|
|
arm_fir_f32(&fir_inst, block->data, block_new->data, block->length); |
|
|
|
arm_fir_f32(&fir_inst, block->data, block_new->data, block->length); |
|
|
|
//Serial.print("AudioFilterFIR_F32: update(): fir_inst: ");
|
|
|
|
block_new->length = block->length; |
|
|
|
//Serial.print(fir_inst.numTaps); Serial.print(", ");
|
|
|
|
|
|
|
|
//Serial.print(fir_inst.pState[10]*1000.f); Serial.print(", ");
|
|
|
|
//transmit the data
|
|
|
|
//Serial.print(fir_inst.pCoeffs[10]*1000.f); Serial.println();
|
|
|
|
|
|
|
|
AudioStream_F32::transmit(block_new); // send the FIR output
|
|
|
|
AudioStream_F32::transmit(block_new); // send the FIR output
|
|
|
|
AudioStream_F32::release(block_new); |
|
|
|
AudioStream_F32::release(block_new); |
|
|
|
} |
|
|
|
} |
|
|
|