I\'m trying to make an mp3 player in java and I can`t figure out how to control the volume in it.
I\'ve tried something like this:
// Adjust
OK GUYS,
I found my mess-up. I actually forgot to call the dataLine.open(audioFormat) function which acquires the system resources.
So the code workes just fine, in case anyone has this kind of problems too