tmiw / ezDV

A FreeDV device based on the ESP32.
96 stars 4 forks source link

Reduce CPU time required by the VITA task. #33

Closed tmiw closed 6 months ago

tmiw commented 6 months ago

Reduces the CPU usage by the FlexRadio VITA task by doing the following:

  1. Changes floating-point resampling to fixed-point (with vectorization).
  2. Removes the use of select() and simply attempts to call recv(). In testing, this significantly reduces CPU usage more than expected since select() is supposed to just check receive readiness and immediately return.

Before merging: