aud_tone_type.h
来自「Motorola synergy audio component」· C头文件 代码 · 共 929 行 · 第 1/4 页
H
929 行
#ifndef AUD_TONE_TYPE#define AUD_TONE_TYPE#ifdef __cplusplus /* allow #include in a C++ file (only put this in .h files) */extern "C" {#endif/* (c) Copyright Motorola 1990 - 2005, All rights reserved. Motorola Confidential Proprietary Contains confidential proprietary information of Motorola, Inc. Reverse engineering is prohibited. The copyright notice does not imply publication. DESCRIPTION: The list of tone types used by the Audio Manager and DL_Audio tasks, and macros used to identify groups of tones. ************** REVISION HISTORY ********************************************** Date Author Reference ======== ======== ========================== 2005-07-05 rkamath1 LIBgg65242 Feature 16017 - updates to DL_AUDIO_TONE_TYPE enum. Added the isSelfTerminatingTone & aud_tone_is_oneshot macros. 2005-05-05 w17860 CR - LIBgg00249 INTG: Panic when receive MT call very quickly before ringtone rang. 2005-03-24 w17860 CR - LIBff73690 Feature 10223 : Background audio feature interactions 2005-02-22 w16355 LIBff67536 LIBff29422 Causing Keytone Mismatch. 2005-01-26 w16355 LIBff29422 New Tones for PTV feature MRS 11685. 2005-01-26 w16355 LIBff50278 Audio Mgr support for new PTT tone volume setting. 2005-01-26 w16355 LIBff29422 New Tones for PTV feature MRS 11685. 2005-01-26 w17860 CR - LIBff42504 Panic with Neptune LTE2 ROM3. Audio shaping not disabled - Make sure that CODER_ON is allowed to be sent only when audio queue is empty and the messges have been sent to DSP 04-11-23 aja099 libff38547 VST VR Port 03-05-13 Chiarulli LIBdd01040 Modify Audio Manager to accept VST VR port from CDMA T730 2004-09-13 aja099 LIBff06524 Adding new tone type: DL_AUDIO_TONE_TYPE_VOLUMEKEY_MULTIMEDIA_LITE UIS needed this for new multimedia volume control. 2004-09-09 w16355 CR - LIBff14638 Bluephone: Audio Manager support for full duplex AMR voice. - Added the new tone type to support two way AMR audio for bluephone. - Moved VA/VR tone types here from am_app_logic_processor_main.h and renamed them from AM_ to DL_. 2004-06-30 w16355 LIBee09318 Barge Alert routed thru earpiece instead of alerter. - Need to duplicate the first tone of a PTT session as an alert so that the initial tone will always be heard. 2004-06-29 w16355 CR - LIBdd80946 PTT updates. 2004-01-02 w16355 CR - LIBdd64962 V400: PTT: Need new tones for push to talk. 2004-05-10 w17860 LIBee08172 Make a seperate tone request for MFT Vib from MME 04-02-23 w18944 CR - LIBdd72710 WAV UI sounds 2003-02-18 w16355 CR - LIBdd76140 Can't use MotoMixer when phone linked with Bluetooth headset. 04-01-08 a18984 CR - LIBdd65899 Added new tone id for TCMD vibe 03-12-17 a18984 CR - LIBdd62286 Need to support MFT/non MFT product in single binary 03-12-16 w17860 CR - LIBdd62227 MFT vib Updates for E398 03-11-10 w18944 CR - LIBdd44821 Simultaneous Ring and Vib 03-10-15 w16355 CR - LIBdd43633 New stereo headset detection AM sw to support new hardware. - Added a new tone type to aid in determining if a headset is stereo or mono. 03-08-11 e11237 CR - LIBdd19000 differentiate between CTG and multimedia alerts 03-08-13 e11237 CR - LIBdd30018 audio alert handling 03-08-08 w18944 CR - LIBdd26383 added 2 new tones 03-07-03 w18944 CR - LIBdd10607 add mm alert path type 03-03-18 e11237 CR - LIBbb84761 add ringer styles for current, line1, line2 01/27/03 w18944 LIBbb72192 MP3 companding 03-02-27 w16865 CR - LIBbb78059 Support funlight 12/09/02 e11237 LIBbb65872 add midi alert type 11/12/02 e11237 LIBbb67005 fix type type enum mismatches 03/26/02 w18944 LIBaa05162 Add multimedia ui tones 03-20-02 qcf001 CR - LIBbb24377 02-02-02 ktang CR - LIBbb10803 midi support 02-11-19 brb032 CR - LIBbb66650 Stop media tone when we play the network service tone. 02-12-03 a14614 CR - LIBbb70145 added new enums to support AMR 02-11-06 qcf001 CR - LIBbb65609 Added 4 tones for Sim toolkit 02-07-19 w16865 CR - LIBbb44509 Correct the range for media tone 02-06-24 brb032 CR - LIBbb40692 Increase customize tone. 03-20-02 qcf001 CR - LIBbb24377 02-02-25 brl022 CR - LIBbb21281 add MyTone DB to LCA phone 01-12-20 ktang CR - LIBbb13753 Audio Media Request Redirection 02-01-08 qcf001 LIBbb16169 Merge volume_key_lite tone from R1.1.1 *//************** HEADER FILE INCLUDES ******************************************/#if (MAKE_FTR_MFT_SUPPORT == TRUE)#include <SYNERGY_DEVICE_LAYER/dl_db_flexing_auf.h>#endif /************** CONSTANTS *****************************************************/#define DL_AUDIO_MAX_CUSTOM_ALERTS 0xFB /* == 251 decimal *//************** STRUCTURES, ENUMS, AND TYPEDEFS *******************************/enum{ DL_AUDIO_RINGER_STYLE_PRESET_START = 0, DL_AUDIO_RINGER_STYLE_SILENT = DL_AUDIO_RINGER_STYLE_PRESET_START, DL_AUDIO_RINGER_STYLE_VIBE_DOT, /* VIBRATESHORT */ DL_AUDIO_RINGER_STYLE_VIBE_DASH, /* VIBRATELONG */ DL_AUDIO_RINGER_STYLE_VIBE_DOT_DOT, /* VIBRATE2SHORT */ DL_AUDIO_RINGER_STYLE_VIBE_DOT_DASH, /*42*/ /* VIBRATESHORTLONG */ DL_AUDIO_RINGER_STYLE_VIBE_PULSE, /* VIBRATESHORTREPEAT */ DL_AUDIO_RINGER_STYLE_CONTINENTAL, /* ALARM_LITE */ DL_AUDIO_RINGER_STYLE_CLASSIC, /* RINGER_LITE */ DL_AUDIO_RINGER_STYLE_ATTENTION, /* MESSAGE_LITE */ DL_AUDIO_RINGER_STYLE_SIREN, /* SONG10_LITE */ DL_AUDIO_RINGER_STYLE_MEDIA_START, DL_AUDIO_RINGER_STYLE_BACH_INVENTION_1 = DL_AUDIO_RINGER_STYLE_MEDIA_START, DL_AUDIO_RINGER_STYLE_BEEP, DL_AUDIO_RINGER_STYLE_BITS_AND_BYTES, DL_AUDIO_RINGER_STYLE_BOMBS_AWAY, DL_AUDIO_RINGER_STYLE_BOOGIE, DL_AUDIO_RINGER_STYLE_CANON_IN_D, DL_AUDIO_RINGER_STYLE_CHARGE, DL_AUDIO_RINGER_STYLE_CHINESE_MELODY, DL_AUDIO_RINGER_STYLE_COSMIC, DL_AUDIO_RINGER_STYLE_CUMPARASITA, DL_AUDIO_RINGER_STYLE_DINGDONG, DL_AUDIO_RINGER_STYLE_FIBONACCI, DL_AUDIO_RINGER_STYLE_FUNK, DL_AUDIO_RINGER_STYLE_HAVA_NAGILA, DL_AUDIO_RINGER_STYLE_MAPLE_LEAF_RAG, DL_AUDIO_RINGER_STYLE_NESSUN_DORMA, DL_AUDIO_RINGER_STYLE_NURSERY_RHYME, DL_AUDIO_RINGER_STYLE_1812_OVERTURE, DL_AUDIO_RINGER_STYLE_RONDO_ALA_TURCA, DL_AUDIO_RINGER_STYLE_SNAGGLE, DL_AUDIO_RINGER_STYLE_SONATA_IN_C, DL_AUDIO_RINGER_STYLE_TOCCATA_AND_FUGUE, DL_AUDIO_RINGER_STYLE_UH_OH, /* start of pre-defined ringer section */ DL_AUDIO_RINGER_STYLE_PREDEFINED_START, DL_AUDIO_RINGER_STYLE_PREDEFINED_CHIMES_HIGH = DL_AUDIO_RINGER_STYLE_PREDEFINED_START, DL_AUDIO_RINGER_STYLE_PREDEFINED_CHIMES_LOW, /* 30 */ DL_AUDIO_RINGER_STYLE_PREDEFINED_DING, DL_AUDIO_RINGER_STYLE_PREDEFINED_TADA, DL_AUDIO_RINGER_STYLE_PREDEFINED_NOTIFY, DL_AUDIO_RINGER_STYLE_PREDEFINED_DRUM, DL_AUDIO_RINGER_STYLE_PREDEFINED_CLAPS, DL_AUDIO_RINGER_STYLE_PREDEFINED_FANFARE, DL_AUDIO_RINGER_STYLE_PREDEFINED_CHORD_HIGH, DL_AUDIO_RINGER_STYLE_PREDEFINED_CHORD_LOW, /* 38 */ DL_AUDIO_RINGER_STYLE_PRESET_END = DL_AUDIO_RINGER_STYLE_PREDEFINED_CHORD_LOW, /* It is NOT right to leave it here. But just to make it work for now... */ DL_AUDIO_RINGER_STYLE_PREDEFINED_END = DL_AUDIO_RINGER_STYLE_PRESET_END,DL_AUDIO_RINGER_STYLE_CUSTOM_START, DL_AUDIO_RINGER_STYLE_CUSTOM_1 = DL_AUDIO_RINGER_STYLE_CUSTOM_START, DL_AUDIO_RINGER_STYLE_CUSTOM_2, DL_AUDIO_RINGER_STYLE_CUSTOM_3, DL_AUDIO_RINGER_STYLE_CUSTOM_4, DL_AUDIO_RINGER_STYLE_CUSTOM_5, DL_AUDIO_RINGER_STYLE_CUSTOM_6, DL_AUDIO_RINGER_STYLE_CUSTOM_7, DL_AUDIO_RINGER_STYLE_CUSTOM_8, DL_AUDIO_RINGER_STYLE_CUSTOM_9, DL_AUDIO_RINGER_STYLE_CUSTOM_10,
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?