dpirch / libfvad

Voice activity detection (VAD) library, based on WebRTC's VAD engine
BSD 3-Clause "New" or "Revised" License
498 stars 176 forks source link

Add support against linkage with C++ programs #2

Closed VictorQueiroz closed 6 years ago

dpirch commented 6 years ago

Thanks. I have instead added the 'extern "C"' to include/fvad.h only, the only header file that should be included from C++ programs that use the library.

The other header files are internal headers that shouldn't require 'extern "C"' because they are intended to be included only from the library's own C source files, which should be compiled with the compiler in C mode.

VictorQueiroz commented 6 years ago

Makes sense. Thank you