audio_path_types.h

来自「Motorola synergy audio component」· C头文件 代码 · 共 136 行

H
136
字号
#ifndef AUDIO_PATH_TYPES_H#define AUDIO_PATH_TYPES_H#ifdef __cplusplusextern "C" {#endif/*==================================================================================================                                                                                    Header Name: audio_path_types.h     General Description: enumerations for path types ====================================================================================================                              Motorola Confidential Proprietary                         Advanced Technology and Software Operations                      (c) Copyright Motorola 2000 - 2004 All Rights Reserved     Revision History:   Date       Author      Reference   ========   ========    ==========   2004-06-09 w17860      CR - LIBee10733              Audio codec enabled all the time even when there is no audio              - Ensured the audio codec is turned off after playing tone in silent                and vibrate profiles.   04-05-10   w17860      LIBee08172              Make a seperate tone request for MFT Vib from MME                            Modification     TrackingAuthor                          Date          Number     Description of Changes-------------------------   ------------    ----------   -------------------------------------------a18985                       03/11/2004     LIBdd85811   Activating rhthym lights suspends FM radio w18944                       02/23/2004     LIBdd72710   WAV UI soundsw18944                       02/16/2004     LIBdd73602   Increase the sensitivity of rhythm lightsa18984                       12/22/2003     LIBdd63995   Accessories tone is heard after exit of                                                          alarm notificationw17860                       12/16/2003     LIBdd62227   MFT vib Updates for E398w17860                       10/01/2003     LIBdd44508   ST:Accy:2: MP3 Player and FM Radio don't play                                                          when camera is turned onw18944                       07/03/2003     LIBdd10607   add mm alert path typee11237                       03/25/2003     LIBbb77547   support video telephonyJon Eklund                   12/09/2002     LIBbb65872   provide for a "phantom" pathRavi Subramanyan             02-05-13       LIBbb32471   ST::WAP Download:0  Playing melodie while                                                          reading SMS resets melodieRavi Subramanyan             10/26/2001     LIBbb07519   Replace MAKE_EXT_SMART_AUDIO comp flag with                                                          MAKE_MP3 & MAKE_TELEMATICSMark Taraba                  08/23/2000     CSGce65193   Move AM_AUDIO_PATH_TYPE enumeration to ghdr                                                         - file creation====================================================================================================                                         INCLUDE FILES==================================================================================================*/#include <SUAPI/suapi.h>/*==================================================================================================                                           CONSTANTS==================================================================================================*//*==================================================================================================                                            MACROS==================================================================================================*//*==================================================================================================                                             ENUMS==================================================================================================*//* Enums define to select and set the path  *//* Paths are ordered by priority            *//* IMPORTANT NOTE:                                                                              *//* Whenever AM_AUDIO_PATH_TYPE is updated, DL_AUDIO_AM_PATH_TYPE should be updated accordingly. *//* enums for DL_AUDIO_AUDIO_TYPE should be one-to-one match with enums for AM_AUDIO_PATH_TYPE   *//* because device layer will just pass on the audio path ID info. to apps.                      */enum{    AM_AUDIO_PATH_ID_MULTIMEDIA_MFT_VIB,    AM_AUDIO_PATH_ID_MULTIMEDIA_ALERT,    AM_AUDIO_PATH_ID_ALERT_LITE,    AM_AUDIO_PATH_ID_MULTIMEDIA_UI,    AM_AUDIO_PATH_ID_UI_LITE,        AM_AUDIO_PATH_ID_KEY_LITE,    AM_AUDIO_PATH_ID_NETWORK_LITE,    AM_AUDIO_PATH_ID_MULTIMEDIA_PLAY,    AM_AUDIO_PATH_ID_MULTIMEDIA_CAPTURE,       AM_AUDIO_PATH_ID_VA_VR_NON_AUDIO,    AM_AUDIO_PATH_ID_VA_VR_IO,    AM_AUDIO_PATH_ID_VA_IO,    AM_AUDIO_PATH_ID_VR_IO,    AM_AUDIO_PATH_ID_VA_VR_OUTPUT,    AM_AUDIO_PATH_ID_VT_VOICE,    AM_AUDIO_PATH_ID_VOICE,     AM_AUDIO_PATH_ID_DATA,    AM_AUDIO_PATH_ID_EXT_GEN_AUDIO,    AM_AUDIO_PATH_ID_RADIO_TONE = AM_AUDIO_PATH_ID_EXT_GEN_AUDIO,    AM_AUDIO_PATH_ID_FUNLIGHTS,    /* Giving the video path lesser priority than FM radio     * so that FM radio does not get muted when Camera      * Viewfinder is started     */    AM_AUDIO_PATH_ID_MULTIMEDIA_VIDEO,    AM_AUDIO_PATH_ID_PHANTOM_TONE,    /* This would be used to set the path type to for silent and vibrate     * alerts after they have been queued so that no gains or other settings     * are applied to them.     */    AM_AUDIO_PATH_ID_UNUSED_TONE,    AM_AUDIO_PATH_ID_INVALID_TONE = 0xFF};/*==================================================================================================                                 STRUCTURES AND OTHER TYPEDEFS==================================================================================================*//*==================================================================================================                                 GLOBAL VARIABLE DECLARATIONS==================================================================================================*/typedef UINT8 AM_AUDIO_PATH_TYPE;/*==================================================================================================                                     FUNCTION PROTOTYPES==================================================================================================*//*================================================================================================*/#ifdef __cplusplus}#endif#endif  /* AUDIO_PATH_TYPES_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?