I have looked around and tried the following in-built library:
javax.sound.sampled.AudioSystem
to get microphone information / mute microphone(s) / unmute, but this deals more with streaming files. I also found the following in relation to microphone access with Java, but that's streaming audio from the microphone: Java Sound API - capturing microphone
How do I, using the aforementioned library or similar to that in the question linked, mute / unmute one or more microphones in Windows via Java?