?? am_app_configuration_server.cc
字號:
/*(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 ======== ======== ================ 00-12-21 mtaraba CSGce82934 main_comp_hardware.h within engine_audio vob should be removed 00-08-09 mtaraba CR - CSGce55882 Eliminate file gsm.h from audio manager 00-03-14 mkloza PR - CSGce51641 Blue Tooth modifications for P2K - updated update_mode() function to new format 99-10-12 ktang PR - CSGce39518 GRiEF Phase II Audio - Volume/DTMF/MIC/SPKR Gain Feature DB work - Update the call to AM_App_Feature_Server member function 99-08-02 mkloza PR - CSGce34326 GRiEF: Stubout all Audio SEEM calls - stubout ckm calls*///GRiEF//#include "dl_acc_auf.h"#include <audio/am_globals.h>#include <ENGINE_AUDIO/am_util_bits.h>#include <audio/am_app_configuration_server.h>#include <audio/AM_App_Configuration_Server.H>#include <audio/am_app_feature_server.h>#include <audio/AM_App_Feature_Server.H>#include <SYNERGY_DEVICE_LAYER/dl_db_feature_ids.h>#include <audio/AM_Relay_Layer.H>AM_APP_CONFIGURATION_MASK* AM_App_Configuration_Server :: am_app_configuration_mask_ptr;/* This is the class constructor. Use the memory block allocated by AM_Event_Handler for * am configuration_mask. * Simply initialize configuration. */AM_App_Configuration_Server :: AM_App_Configuration_Server (AM_APP_CONFIGURATION_MASK *mask_ptr){ am_app_configuration_mask_ptr = mask_ptr; *am_app_configuration_mask_ptr = 0; }/* set a configuration field to a new value * * Step 1: if the state is true, set the bit indicated by field. * Step 2: if the state is false, clear the bit. */voidAM_App_Configuration_Server :: set (AM_APP_CONFIGURATION_MASK_ID field, BOOL state){ if (state) { set_bit (*am_app_configuration_mask_ptr, field); } else { clear_bit (*am_app_configuration_mask_ptr, field); } return; }
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -