title: Is there a way in Java (+- JNA) to set the master system volume reliably in XP+Vista+Windows 7?
body: <p>Appears that java's sound API's work well for single streams, and even for setting the input from the microphone, but not for setting the master volume level in Vista/Windows 7.</p>
  
  <p>refs:</p>
  
  <p><a href="https://stackoverflow.com/questions/1727511/java-sound-api-to-access-the-system-master-volume-control-in-vista-and-win-7">Java Sound API to access the system/master volume control in Vista and Win 7</a></p>
  
  <p><a href="https://stackoverflow.com/questions/1734808/how-to-adjust-speaker-volume-from-java-program">How to adjust speaker volume from Java program?</a></p>
  
  <p><a href="https://stackoverflow.com/questions/294292/changing-master-volume-level/294525#294525">Changing master volume level</a>
   only works on XP for the master volume</p>
  
  <p>Anybody have something that'll work for all of them (without compatibility mode or controlling the mouse to increase volume level [robot-like]).</p>