rnnoise
rnnoise copied to clipboard
handle non-vla compilers
Leverages the C std version and the standard __STDC_NO_VLA__ macro to detect whether VLA is supported, and if not falls back to using alloca.
This is needed to support the MSVC compiler. With this (and defining M_PI) I was able to compile rnnoise with MSVC.