⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 am_globals.h

📁 Motorola synergy audio component
💻 H
字号:
#ifndef AUD_GLOBALS_INCLUDE#define AUD_GLOBALS_INCLUDE/* * (c) Copyright Motorola 1996, All rights reserved. * Motorola Confidential Proprietary * Contains Confidential Proprietary information of Motorola, Inc. * Reverse engineering is prohibited. * The copyright notice does not imply publication. *//****************************** REVISION HISTORY ******************************Date        Author      Reference Number========    ========    ================01-10-05   w17860      CR - LIBbb07519           Replace MAKE_EXT_SMART_AUDIO comp flag with MAKE_MP3 &           MAKE_TELEMATICS01-03-18    rsubram     CR - CSGce91729            Audio Manager does not seem to unmute FM radio after VN recording             or playback            - Declared the global variable fm_muted 01-03-26   mloutris    CSGce87756           MP3 Lite: Audio Manager needs to support the MP3 clip-on accessory.00-11-20    mtaraba     CSGce69100            Add support for DAI mode for GSM00-10-09    rsubram     CR - CSGce75368            Unmuting the audio paths for the dumb accessories when connected            - added a global variable to find out if FM radio is on queue00-08-09    mtaraba     CR - CSGce55882            Eliminate file gsm.h from audio manager00-07-13    Dale Noble  CSGce58284 elim memset99-09-01    mkloza      CSGce34326            GRiEF            - added memcpy_our and memset_our98-03-26    mkloza      PR - CSGce17807            Low Power mode updated            - created global variable am_global            - created macro AUD_GLOBALS_is_deep_sleep_capable() to indicate              AM capability of going into deep sleep mode*****************************************************************************/#ifdef __cplusplus  /* allow #include in a C++ file */extern "C" {#endif#include <SUAPI/suapi.h>#include <ENGINE_AUDIO/am_util_bits.h>#include <ENGINE_AUDIO/td_aud_tone_req_tone_type.h>#ifndef SIZE_T_DEFINED_          /* is size_t available? */#include <stddef.h>#endif                           /* #ifndef SIZE_T_DEFINED_ */extern UINT8 am_global;extern BOOL is_ext_generated_audio_on_queue;extern BOOL is_there_accessory_change;extern BOOL fm_muted;extern BOOL dsp_awake;extern TD_AUD_TONE_REQ_TONE_TYPE_T audio_dai_mode;extern void*memcpy_b(void *dest_ptr,  const void *source_ptr, size_t count);/* following enum bits definitions are used with UINT8 am_global variable to extract information about AM configuration states */enum{    AM_AUDIO_HANDSFREE_CAPABLE,  /* indicates whether current state of AM is capable of going into handsfree mode */    AM_AUDIO_DEEP_SLEEP_CAPABLE  /* indicates whether current state of AM is capable of going into deep sleep mode */};/* This macro provides backwards compatibility. Macro has been used to determine audio manager handsfree capability */#define AUD_GLOBALS_is_handsfree_capable()   (read_bit(am_global, AM_AUDIO_HANDSFREE_CAPABLE))#define AUD_GLOBALS_is_deep_sleep_capable()  (read_bit(am_global, AM_AUDIO_DEEP_SLEEP_CAPABLE))#ifdef __cplusplus}#endif#endif

⌨️ 快捷键说明

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