rhasspy / webrtc-noise-gain

Tiny wrapper around webrtc-audio-processing for noise suppression/auto gain only
MIT License
10 stars 17 forks source link

Building on Linux #5

Open rds76 opened 9 months ago

rds76 commented 9 months ago

https://github.com/rhasspy/webrtc-noise-gain/blob/0b3bc23f5f33101df5b8f1970919500d8629b955/webrtc-audio-processing/webrtc-audio-processing-1/rtc_base/event_tracer.cc#L12

using C++ on Linux, be sure to #define __STDC_FORMAT_MACROS before including inttypes.h.

source: https://stackoverflow.com/questions/8132399/how-to-printf-uint64-t-fails-with-spurious-trailing-in-format

current workaround is to pass -D__STDC_FORMAT_MACROS in CFLAGS to compiller