Mute Audio Input on macOS

Is it possible for a macOS app to mute the audio input for whatever is selected under System Preferences -> Sound -> Input?


The goal is to be certain that microphone audio is not being sent to any running applications.


Cheers,

Patrick