Android default volume

Source: Internet
Author: User
Default volume frameworks \ base \ media \ Java \ Android \ media \ audiomanager. Java
/** @ Hide default volume index values for audio streams */

 
Public static final int [] default_stream_volume = new int [] {
4, // stream_voice_call
7, // stream_system
4, // stream_ring
8, // stream_music
4, // stream_alarm
4, // stream_notification
7, // stream_rjth_sco
7, // stream_system_enforced
11, // stream_dtmf
11, // stream_tts
4, // stream_fm
4 // stream_matv
};
Maximum Volume frameworks \ base \ media \ Java \ Android \ media \ audioservice. Java
 
Private int [] max_stream_volume = new int [] {
6, // stream_voice_call
7, // stream_system
7, // stream_ring
13, // stream_music
7, // stream_alarm
7, // stream_notification
15, // stream_rjth_sco
7, // stream_system_enforced
15, // stream_dtmf
15, // stream_tts
13, // stream_fm
13 // stream_matv
};
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.