videolabs / libspatialaudio

Ambisonic encoding / decoding and binauralization library in C++
Other
192 stars 37 forks source link

Debug logs always printed #35

Open sergiogf93 opened 2 years ago

sergiogf93 commented 2 years ago

There are some uses of std::cout that result on log lines always being printed. For example these two:

https://github.com/videolabs/libspatialaudio/blob/master/source/AmbisonicBinauralizer.cpp#L362 https://github.com/videolabs/libspatialaudio/blob/master/source/AmbisonicBinauralizer.cpp#L367

Would be nice to have some setting to only print these in debug mode.