I have a strange problem.
Audio from AudioInputI2S (Mic in) works when feeding a block after it in the audio chain.
i2s -> myblock Works
But when the same data is sent first thru an AudioFilterBiquad instance and then to the same block after it there is no audio data coming.
i2s-> biquad -> myblock Does not work!
I know that there is data out from both i2s and from the biquad blocks. I have tested that.
I suspect something is wrong with this audio compressor code. However it works when I feed it directly from analog input... This is the audio compressor code: https://github.com/MarkzP/AudioEffectDynamics/blob/master/effect_dynamics.cpp
Any idea about what is going on and how to debug this issue? (Yes I have allocated audio memory).
Audio from AudioInputI2S (Mic in) works when feeding a block after it in the audio chain.
i2s -> myblock Works
But when the same data is sent first thru an AudioFilterBiquad instance and then to the same block after it there is no audio data coming.
i2s-> biquad -> myblock Does not work!
I know that there is data out from both i2s and from the biquad blocks. I have tested that.
I suspect something is wrong with this audio compressor code. However it works when I feed it directly from analog input... This is the audio compressor code: https://github.com/MarkzP/AudioEffectDynamics/blob/master/effect_dynamics.cpp
Any idea about what is going on and how to debug this issue? (Yes I have allocated audio memory).