📄 am_hw_primitive_builder_tone.cc
字号:
OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 4000, 4000, 4000, 4000, 4000, 4000, 4000, 20000};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_PBX_L[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 8000, 16000, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_MED_PBX_L[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 8000, 16000, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_LOW_PBX_L[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 8000, 16000, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_PBX_SS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 3200, 1600, 3200, 16000, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_MED_PBX_SS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 3200, 1600, 3200, 16000, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_LOW_PBX_SS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 3200, 1600, 3200, 16000, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_PBX_SSL[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 3200, 1600, 3200, 1600, 6400, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_MED_PBX_SSL[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 3200, 1600, 3200, 1600, 6400, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_LOW_PBX_SSL[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 3200, 1600, 3200, 1600, 6400, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_PBX_SLS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 3200, 1600, 6400, 1600, 3200, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_MED_PBX_SLS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 3200, 1600, 6400, 1600, 3200, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_LOW_PBX_SLS[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 3200, 1600, 6400, 1600, 3200, 8000, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_PBX_S_X4[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 3200, 1600, 3200, 1600, 3200, 1600, 3200, 6400};const AM_HW_SOUND_OLD_DEF IS54B_MED_PBX_S_X4[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 3200, 1600, 3200, 1600, 3200, 1600, 3200, 6400};const AM_HW_SOUND_OLD_DEF IS54B_LOW_PBX_S_X4[] ={ OLD_TONE, 0, 0, 0, 0x3100, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 3200, 1600, 3200, 1600, 3200, 1600, 3200, 6400};const AM_HW_SOUND_OLD_DEF IS54B_HIGH_P_X4[] ={ OLD_TONE, 0, 0, 0, 0x3104, FREQ_OF_1477, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1477, 320, 640, 800, 800, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_MED_P_X4[] ={ OLD_TONE, 0, 0, 0, 0x3104, FREQ_OF_1150, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_1150, 320, 640, 800, 800, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF IS54B_LOW_P_X4[] ={ OLD_TONE, 0, 0, 0, 0x3104, FREQ_OF_941, 320, 0, FREQ_OF_2091, 640, 0, FREQ_OF_941, 320, 640, 800, 800, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF TCMD_1K[] ={ OLD_TONE, 0, 0, 0, 0x1100, FREQ_OF_1000, 0x7FFF, 0, FREQ_OF_0, 0, 0, FREQ_OF_0, 0, 0, 0x7FFF, 0, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF TCMD_2K[] ={ OLD_TONE, 0, 0, 0, 0x1100, FREQ_OF_2000, 0x7FFF, 0, FREQ_OF_0, 0, 0, FREQ_OF_0, 0, 0, 0x7FFF, 0, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF TCMD_3K[] ={ OLD_TONE, 0, 0, 0, 0x1100, FREQ_OF_3000, 0x7FFF, 0, FREQ_OF_0, 0, 0, FREQ_OF_0, 0, 0, 0x7FFF, 0, 0, 0, 0, 0, 0, 0};const AM_HW_SOUND_OLD_DEF TCMD_4K[] ={ OLD_TONE, 0, 0, 0, 0x1100, FREQ_OF_3999, 0x7FFF, 0, FREQ_OF_0, 0, 0, FREQ_OF_0, 0, 0, 0x7FFF, 0, 0, 0, 0, 0, 0, 0};/* NOTE: The following sounds must ALWAYS be kept in the same sequence as their IDs are defined in dl_audio_auf.h*//* Make pointer and data const */const UINT8* const am_hw_sound_table[] = {// UI sounds LCalDrop, //0 LBatChrg, LError, LDevCnct, LDevDrop, LCalTimr, LBatLow, LVxPrompt, LCalSet, LNegate, LConfirm, //10 LDelItem, LDelText, LEndList, LScrlFst, LKeyHold, LPwrDown, LPwrUp, LScroll, LError, /*Softer copy of Lerror */ LPlayPause, //20 LStop, LNextTrack, LPrevTrack, LGeneralBeep, LPttBusy, LPttConnToSpeak, LPttFlrAvail, LPttFlrUnavail, LPttAnounceBarge, LPttRingback, //30 LPtvTxRequest, LPtvTxComplete, /*Below tones serve as place holders, corresponding to the ..._UNRESERVED_... ids in dl_audio_auf.h. This way it is easier to add or take away tones */ UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, //40 UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, UI_Reserved, // Key sounds LSoftKey, LKeyMenu, //50 LKeySnd, LKeyEnd, LKeySmt, LKeyGen, (UINT8*)DTMF0, (UINT8*)DTMF1, (UINT8*)DTMF2, (UINT8*)DTMF3, (UINT8*)DTMF4, (UINT8*)DTMF5, //60 (UINT8*)DTMF6, (UINT8*)DTMF7, (UINT8*)DTMF8, (UINT8*)DTMF9, (UINT8*)DTMFstar, (UINT8*)DTMFpound, (UINT8*)LKeyVol, // Keypad volume control (UINT8*)LStereoHeadsetDetect, /* Below tones serve as place holders, corresponding to the ..._UNRESERVED_... ids in dl_audio_auf.h. This way it is easier to add or take away tones */ (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, //70 (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, //80 (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, //90 (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved, (UINT8*)Key_Reserved,// Ringer key sound (UINT8*)LKeyVol, // Voice and non-MM Alert volume controls (UINT8*)LKeyVol, // Multimedia volume control (UINT8*)LBatLow, (UINT8*)LGeneralBeep, // 100 // Network Tones (UINT8*)EURO_CALL_WAITING, (UINT8*)CALL_DROPPED, (UINT8*)ERROR, (UINT8*)EURO_CONGESTION, (UINT8*)EURO_SUBSCRIBER_BUSY, (UINT8*)EURO_RINGBACK, (UINT8*)EURO_DIAL_TONE, (UINT8*)RADIO_PATH_ACKNOWLEDGE, (UINT8*)USA_RINGBACK, (UINT8*)SMSInCall, // 110 (UINT8*)EMERGENCY_RINGBACK, (UINT8*)TCMD_1K, (UINT8*)TCMD_2K, (UINT8*)TCMD_3K, (UINT8*)TCMD_4K, /* Below tones serve as place holders, corresponding to the ..._UNRESERVED_... ids in dl_audio_auf.h. This way it is easier to add or take away tones */ (UINT8*)USA_DIAL_TONE, (UINT8*)USA_CONGESTION, (UINT8*)USA_SUBSCRIBER_BUSY, (UINT8*)USA_CALL_WAITING_INITIAL, (UINT8*)USA_CALL_WAITING_CONTINUE, // 120 YouWin, YouWinExtra, YouLose, GameTone1, GameTone2, GameTone3, GameTone4, Spin, PlacePiece, Miss, // 130 CardDeal, Eliminated, ArmPull, (UINT8*)EURO_CALL_WAITING_CONT, (UINT8*)CALL_DROPPED_CONT, (UINT8*)ERROR_CONT, (UINT8*)RADIO_PATH_ACKNOWLEDGE_CONT, (UINT8*)Network_Reserved, (UINT8*)Network_Reserved, (UINT8*)Network_Reserved, // 140 (UINT8*)Network_Reserved,// CDMA Network Tones (UINT8*)CALL_FAILED_PAGE, (UINT8*)CHARGER, (UINT8*)IS95_TONE, (UINT8*)ABBR_ALERT, (UINT8*)INTERCEPT, (UINT8*)ABBR_INTERCEPT, (UINT8*)REORDER, (UINT8*)ABBR_REORDER, (UINT8*)CONFIRM, // 150 (UINT8*)ANSWER, (UINT8*)ANSWER_HOLD, (UINT8*)ONE_MIN_BEEP, (UINT8*)ROAM_DIALTONE, (UINT8*)RECVR_OFF_HOOK, (UINT8*)AUTO_ORIGINATION, // CDMA ISDN Tones (UINT8*)ISDN_NORMAL, (UINT8*)ISDN_INTERGROUP, (UINT8*)ISDN_SP_PRI, (UINT8*)ISDN_PAT_3, // 160 (UINT8*)ISDN_PING_RING, (UINT8*)ISDN_PAT_5, (UINT8*)ISDN_PAT_6, (UINT8*)ISDN_PAT_7, // CDMA-TDMA Short Message Service Tones (UINT8*)IS54B_HIGH_L, (UINT8*)IS54B_MED_L, (UINT8*)IS54B_LOW_L, (UINT8*)IS54B_HIGH_SS, (UINT8*)IS54B_MED_SS, (UINT8*)IS54B_LOW_SS, // 170 (UINT8*)IS54B_HIGH_SSL, (UINT8*)IS54B_MED_SSL, (UINT8*)IS54B_LOW_SSL, (UINT8*)IS54B_HIGH_SS_2, (UINT8*)IS54B_MED_SS_2, (UINT8*)IS54B_LOW_SS_2, (UINT8*)IS54B_HIGH_SLS, (UINT8*)IS54B_MED_SLS, (UINT8*)IS54B_LOW_SLS, (UINT8*)IS54B_HIGH_S_X4, // 180 (UINT8*)IS54B_MED_S_X4, (UINT8*)IS54B_LOW_S_X4, (UINT8*)IS54B_HIGH_PBX_L, (UINT8*)IS54B_MED_PBX_L, (UINT8*)IS54B_LOW_PBX_L, (UINT8*)IS54B_HIGH_PBX_SS, (UINT8*)IS54B_MED_PBX_SS, (UINT8*)IS54B_LOW_PBX_SS, (UINT8*)IS54B_HIGH_PBX_SSL, (UINT8*)IS54B_MED_PBX_SSL, // 190 (UINT8*)IS54B_LOW_PBX_SSL, (UINT8*)IS54B_HIGH_PBX_SLS, (UINT8*)IS54B_MED_PBX_SLS, (UINT8*)IS54B_LOW_PBX_SLS, (UINT8*)IS54B_HIGH_S_X4, (UINT8*)IS54B_MED_S_X4, (UINT8*)IS54B_LOW_S_X4, (UINT8*)IS54B_HIGH_P_X4, (UINT8*)IS54B_MED_P_X4, (UINT8*)IS54B_LOW_P_X4, // 200 // Alert sounds (UINT8*)LAInCall, (UINT8*)LARedial, (UINT8*)LNetChng, (UINT8*)CALL_GUARD, (UINT8*)ROAM_CALL, (UINT8*)ROAM_CALL_ONESHOT, (UINT8*)ShortBeep, (UINT8*)Vibrate, // ALERT_TCMD_VIBE (UINT8*)LPttAlert, (UINT8*)LPttFirstToneInBargeCall, // 210 /* Below tones serve as place holders, corresponding to the ..._UNRESERVED_... ids in dl_audio_auf.h. This way it is easier to add or take away tones */ (UINT8*)Alert_Reserved, (UINT8*)Alert_Reserved, (UINT8*)Alert_Reserved,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -