Changing Volume with JLayer
问题 I have a very specific problem with JLayer in my Music-Player project. I want to include something to adjust the volume, but it seems it isn't that easy to implement. This is because JLayer isn't supporting it from itself. I excluded the Player class from my project and changed some methods and it works fine for playing mp3 . For adjusting the volume I added to the Player class this method: public boolean setGain(float newGain) { if (audio instanceof JavaSoundAudioDevice) { System.out.println