我怎么知道android中音量的最大值是多少?

时间:2017-01-25 09:57:23

标签: android android-audiomanager

function Menu(x, y, z) {    
    this.createMenu = function(x, y) {
        return x + y;
    }    
}

var m = new Menu;

console.log(m.createMenu(3, 5));
m.createMenu = function(x, y) { return x * y; };
console.log(m.createMenu(3, 5));

1 个答案:

答案 0 :(得分:0)

试试这个。

audioManager.setStreamVolume(AudioManager.STREAM_MUSIC,audioManager.getStreamMaxVolume(AudioManager.STREAM_MUSIC),0);`