Android default volume
Android default volume
frameworks/base/media/java/android/media/AudioService.java
/** @hide Maximum volume index values for audio streams */
private static int[] MAX_STREAM_VOLUME = new int[] {
5, // STREAM_VOICE_CALL
7, // STREAM_SYSTEM
7, // STREAM_RING
10, // STREAM_MUSIC
7, // STREAM_ALARM
7, // STREAM_NOTIFICATION
10, // STREAM_BLUETOOTH_SCO
7, // STREAM_SYSTEM_ENFORCED
10, // STREAM_DTMF
10, // STREAM_TTS
10, // STREAM_EXT_SPEAKER
};
private static int[] DEFAULT_STREAM_VOLUME = new int[] {
4, // STREAM_VOICE_CALL
7, // STREAM_SYSTEM
5, // STREAM_RING
10, // STREAM_MUSIC
6, // STREAM_ALARM
5, // STREAM_NOTIFICATION
7, // STREAM_BLUETOOTH_SCO
7, // STREAM_SYSTEM_ENFORCED
5, // STREAM_DTMF
5, // STREAM_TTS
5, // STREAM_EXT_SPEAKER
};
'Android' 카테고리의 다른 글
안드로이드 heap dump 생성방법. (0) | 2017.10.19 |
---|---|
Android ADB stop application command like “force-stop” for non rooted device (0) | 2017.09.14 |
The status of android system properties while wifi connect network. (0) | 2017.09.05 |