M meson.build => meson.build +1 -1
@@ 25,7 25,7 @@ endif
has_frame_func = cc.has_function('rnnoise_get_frame_size',
prefix: '#include <rnnoise.h>',
- dependencies: rnnoise)
+ dependencies: [rnnoise, libm])
if not has_frame_func
add_project_arguments('-DNO_RNNOISE_GET_FRAME_SIZE', language: 'c')
M src/main.c => src/main.c +1 -1
@@ 17,7 17,7 @@
#include <alsa/pcm_external.h>
#include <rnnoise.h>
-#ifdef DNO_RNNOISE_GET_FRAME_SIZE
+#ifdef NO_RNNOISE_GET_FRAME_SIZE
/* backwards compat with older rnnoise revisions */
static inline int rnnoise_get_frame_size() {
return 480;