Added the fix for volume control. I call a native method to set the wave output volume
in both channels from the current program. This should work for windows 7 and 8.