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

📄 av_headset_sep.h

📁 csr 蓝牙芯片 无线蓝牙耳机的嵌入式程序
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004

FILE NAME
    av_headset_sep.h
    
DESCRIPTION
    
*/

#ifndef _AV_HEADSET_SEP_PRIVATE_H_
#define _AV_HEADSET_SEP_PRIVATE_H_


/*************************************************************************
NAME    
     avHeadsetRegisterSep
    
DESCRIPTION
     This function is called to register the required Stream Endpoints
     into the GAVDP SEP database

RETURNS
     
*/
void avHeadsetRegisterSep(const avTaskData *theAvApp, a2dp_sep_type sep);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpAddSepCfm
    
DESCRIPTION
     This function is called to when confirmation that the stream endpoints have been 
     registered

RETURNS
     
*/
void avHeadsetHandleA2dpAddSepCfm(avTaskData* theAvApp, const A2DP_ADD_SEP_CFM_T* cfm);


/*************************************************************************
NAME    
     avHeadsetHandleSdpRegisterCfm
    
DESCRIPTION
     This function is called to once a SDP service has been registered

RETURNS
     
*/
void avHeadsetHandleSdpRegisterCfm(avTaskData* theAvApp, const CL_SDP_REGISTER_CFM_T* cfm);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpOpenInd
    
DESCRIPTION
     This function is called on receipt of an A2DP_OPEN_IND message indicating
     that the SEP has opened

RETURNS
     
*/
void avHeadsetHandleA2dpOpenInd(avTaskData* theAvApp, const A2DP_OPEN_IND_T* ind);

/*************************************************************************
NAME    
     avHeadsetHandleA2dpOpenCfm
    
DESCRIPTION
     This function is called on receipt of an A2DP_OPEN_CFM message indicating
     that the SEP has opened

RETURNS
     
*/
void avHeadsetHandleA2dpOpenCfm(avTaskData* theAvApp, const A2DP_OPEN_CFM_T* cfm);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpStartInd
    
DESCRIPTION
     This function is called on receipt of an A2DP_START_IND message 
     indicating that we are about to start streaming

RETURNS
     
*/
void avHeadsetHandleA2dpStartInd(avTaskData *theAvApp);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpStartCfm
    
DESCRIPTION
     This function is called on receipt of an A2DP_START_CFM message indicating
     the result of our request to start streaming

RETURNS
     
*/
void avHeadsetHandleA2dpStartCfm(avTaskData *theAvApp, const A2DP_START_CFM_T *cfm);

/*************************************************************************
NAME    
     avHeadsetHandleA2dpSuspendInd
    
DESCRIPTION
     This function is called on receipt of an A2DP_SUSPEND_IND message 

RETURNS
     
*/
void avHeadsetHandleA2dpSuspendInd(void);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpCloseInd
    
DESCRIPTION
     This function is called on receipt of an A2DP_CLOSE_IND message 

RETURNS
     
*/
void avHeadsetHandleA2dpCloseInd(avTaskData* theAvApp);

/*************************************************************************
NAME    
     avHeadsetHandleA2dpCloseCfm
    
DESCRIPTION
     This function is called on receipt of an A2DP_CLOSE_CFM message 

RETURNS
     
*/
void avHeadsetHandleA2dpCloseCfm(avTaskData* theAvApp);


/*************************************************************************
NAME    
     avHeadsetHandleA2dpCodecSettingsInd
    
DESCRIPTION
     Handle the receipt of new codec settings.

RETURNS
     
*/
void avHeadsetHandleA2dpCodecSettingsInd(avTaskData *theAvApp, const A2DP_CODEC_SETTINGS_IND_T *ind);


#endif /* _AV_HEADSET_SEP_PRIVATE_H_ */

⌨️ 快捷键说明

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