The interface in libinfnoise.h did not allow for turning off output to stdout, so instead of adding another noOutput parameter, I deprecated it, and made output to stdout dependent on the output bufffer (result) being NULL. I could not find any instances where output to stdout and to a buffer are a "thing", which makes sense, so it seems like a safe change.
It is now possible to use libinfnoise in "silent" mode by specifying a result buffer.
The interface in libinfnoise.h did not allow for turning off output to stdout, so instead of adding another noOutput parameter, I deprecated it, and made output to stdout dependent on the output bufffer (result) being NULL. I could not find any instances where output to stdout and to a buffer are a "thing", which makes sense, so it seems like a safe change.
It is now possible to use libinfnoise in "silent" mode by specifying a result buffer.