This repository was archived by the owner on Jul 13, 2020. It is now read-only.
  
  
  
  
  
Description
Hi,
rnnoise has a few problems when it comes to compiling on Windows.
- libclang has to be installed and referenced by 
$env:LIBCLANG_PATH = "/path/to/clang/dlls/", not a big problem but if you know a way to make this more convenient that would be nice. 
- msvc does not support variable size stack arrays. There are some open pull-requests which fix this issue, also Mumble uses its own fork with a fix: https://github.com/mumble-voip/rnnoise
 
- There is a line that crashes on Windows and probably gets optimized out on Linux. Removing it is not perfect but it works afterwards 🤷 Flakebi/rnnoise@fdc7a18
 
M_PI is missing by default on Windows. 
- The Windows linker complains about symbols being defined multiple times when using 
audiopus and rnnoise simultaneously. 
Here is my full list of changes: xiph/rnnoise@master...Flakebi:master.
The upstream project doesn’t seem to be maintained unfortunately.