Android Java - setVolume past max 1.0f

I'm using mediaplayer to set my volumes. I understand 0.0f is silent and 1.0f is full volume. Is there any way I can get the music to play louder than it's 100% volume programmatically?

 mPlayer.setVolume(2.0f, 2.0f);

Seems to just keep it still at 1.0f volume

2 Answers

  1. Oliver- Reply


    If 1.0 is full volume, then 2.0 is the same as 1.0

    If they were different, then 1.0 would not be the full volume.

    In other words, I'm pretty sure it's not possible to do that.

  2. Oscar- Reply


    1.0 is full volume and going over it will not change anything

Leave a Reply

Your email address will not be published. Required fields are marked *

You can use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>