CrazyEngineers
  • Not able to control the volume in my music player ?

    Updated: Oct 20, 2024
    Views: 1.3K
    hello friends,
    I have some problem in controlling sound in my music player i used floatcontrol in order to control the volume check this.
    FloatControl volume = (FloatControl) c.getControl(FloatControl.Type.MASTER_GAIN);
    volume.setValue(-20.63f);
    
    But still i am not able to control the volume.I used sound.sampled package.
    Can anyone have idea hoe to fix this issue.

    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Home Channels Search Login Register