According to the docs the MediaPlayer setVolume(float, float)
needs to be given a logarithmically scaled value:
Note that the passed volume values are raw scalars. UI controls should be scaled logarithmically.
I was wondering how to do this? Should I just give a log(volume)
to it?