I have installed JNA and I'm trying to replicate what's provided in the second answer here that's suggesting to use NAudio: Mute Windows Volume using C#
I have read some JNA tutorials and it seems it can call external dll library functions, can I use JNA to achieve what's described in the solution of the link? I'm trying to do the exact same thing but except in Java using JNA instead of C#.
If it can be done, can anyone be so kind to provide some hints? I only know how to call functions using JNA.