I found one answer on this thread: https://forum.processing.org/topic/minim-is-there-a-way-to-getlinein-without-pushing-audio-back-out
Apparently, you should call mute() on your entry line:
in.mute();
It seems weird though because I've seen sketches running without the audio feedback that didn't use mute(), like this one: