微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 50平台如何把系统提示音量调小

50平台如何把系统提示音量调小

时间:10-02 整理:3721RD 点击:
情景模式下只有关闭和打开,需求是打开但是音量要调低,如何修改

已修改完成搞定,修正音源数组就行了

那个数组呢?

static const device_tones_struct tone_warning1[]           =  {  { 300,   0, 200, 0,   0 }   };
static const device_tones_struct tone_warning2[]           =  {  { 300,   0, 200, 0,   0 }   };
static const device_tones_struct tone_error1[]           =  {  { 300,   0, 200, 0,   0 }   };
static const device_tones_struct tone_error2[]           =  {  { 300,   0, 200, 0,   0 }   };
static const device_tones_struct tone_general_beep[]           =  {  { 300,   0, 200, 0,   0 }   };
static const device_tones_struct tone_battery_low[]           =  {  { 300,   0, 200, 100,   1 },
                                                                     { 300,   0, 200,   0,   0 }   };
static const device_tones_struct tone_battery_warning[]       =  {  { 300,   0, 200, 100,   1 },
                                                                     { 300,   0, 200, 100,   2 },
                                                                     { 300,   0, 200,   0,   0 }   };
static const device_tones_struct tone_aux_ind[]                =  {  { 300, 0, 200,  0,   0 }   };
这是系统提示音一部分数组值,你可以参考下如何修正你的需求

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top