aud_mute_req.c

来自「Motorola synergy audio component」· C语言 代码 · 共 109 行

C
109
字号
#ifdef __cplusplusextern "C" {#endif/*==================================================================================================                                                                                   Module Name:  aud_mute_req.c    General Description: Utility function to send mute request primitives to the Audio Manager. ====================================================================================================                               Motorola Confidential Proprietary                           Advanced Technology and Software Operations                        (c) Copyright Motorola 1999, All Rights Reserved  Revision History:                            Modification     TrackingAuthor                          Date          Number     Description of Changes-------------------------   ------------    ----------   -------------------------------------------Steve Hagino                08/03/2000      CSGce67731   Make Audio Manager Ansi-CompliantSteve Hagino                03/30/2000      CSGce53305   Implemented aud_mute_reqChuck Farrell               03/16/2000      CSGce47853   Creation of file   Portability: This module is portable to other compilers.====================================================================================================                                        INCLUDE FILES==================================================================================================*/#include <audio/aud_mute_req.h>    #include <ENGINE_AUDIO/td_aud_voice_req_type.h>    #include <ENGINE_AUDIO/aud_prim_ids.h>#include <SYNERGY_DEVICE_LAYER/dl_ports.h>#include <audio/AM_SendMessage.h>/*==================================================================================================                                 LOCAL FUNCTION PROTOTYPES==================================================================================================*/                                                            /*==================================================================================================                                     LOCAL CONSTANTS==================================================================================================*//*==================================================================================================                          LOCAL TYPEDEFS (STRUCTURES, UNIONS, ENUMS)==================================================================================================*//*==================================================================================================                                        LOCAL MACROS==================================================================================================*//*==================================================================================================                                      LOCAL VARIABLES==================================================================================================*/                                                            /*==================================================================================================                                     GLOBAL VARIABLES==================================================================================================*//*==================================================================================================                                     LOCAL FUNCTIONS==================================================================================================*//*==================================================================================================                                       GLOBAL FUNCTIONS==================================================================================================*//*==================================================================================================FUNCTION: aud_mute_req          DESCRIPTION:   This functions makes requests of the Audio Manager to perform muting.ARGUMENTS PASSED:   mute_type - The type of muting to perform.    RETURN VALUE:   NonePRE-CONDITIONS:   None POST-CONDITIONS:   NoneIMPORTANT NOTES:   None==================================================================================================*/voidaud_mute_req(TD_AUD_VOICE_MUTE_TYPE_T mute_type){    AUD_MUTE_REQ * msgptr = NULL;    msgptr = suCreateMessage((UINT32)sizeof(AUD_MUTE_REQ),                               (UINT32)AUD_MUTE_REQ_ID, SU_INVALID_HANDLE, NULL);    msgptr->mute_type = mute_type;    AM_SendMessage((char *) msgptr);}#ifdef __cplusplus}#endif

⌨️ 快捷键说明

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