Multi buffer transfer with simple lock for the FFT routine amd the audio DAQ thread.
Changed kissFFT to float (through cmake instruction) to be compatible with the buffers type. With this setting we can use memcpy rather than slow iteration through elements
EQ shaders latency improved:
Realised that any kind of GLSL loop that is more than 10 iterations slows down the rendering significantly.
Refactored the shader without iteration and kept the slow one as example.
Now, for any shader that is correctly implemented, the output video should be fully real-time reactive.
Major changes in the Audio processing structure:
EQ shaders latency improved:
Now, for any shader that is correctly implemented, the output video should be fully real-time reactive.