I am fairly new at java. I need to control volume (volume up/down, mute) in a java application. I couldn\'t find a way to do this. I am developing on a linux system (for inf
I don't think there is a constant called VOLUME. Its MASTER_GAIN. So you should do
volCtrl = (floatControl) lineIn.getControl(FloatControl.Type.MASTER_GAIN); volCtrl.setValue(you_custom_value);