I'm currently Working on something like a PC Media Remote control. I have been working for days now and can't find a solution to my problem. I tried many things for Example
The Java sound class: Can Java Sound be used to control the system volume?
I got this working for me but it doesn't mute the system sound, it only seems to mute the "Java Applikation sound". I set all Volumes for every Device to 0.0 but sound would be still on. Also I got on none of my device a control for "MASTER_GAIN". How is this Possible?
Also I tried to use a robot to send media Hotkeys. But it seems that the robot cant handle only normal keys. How to type 'a' using robot.pressKey?
So after that I tried Intellitype which I also found somewhre linked on Stack Overflow: http://code.google.com/p/jintellitype/
with this its possible for me to be informed if the media button on my keyboard is pressed, but I couldn't find a way to send that key to the system.
the question now is:
Is there a way to mute the system sound with that Key trigger and when how? Also why did the Sound API didn't let me handle the system sound? seems like a few People on the net got it working.