?? headset_a2dp_connection.h
字號:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2007
Part of Stereo-Headset-SDK Q1-2007.Release
FILE NAME
headset_a2dp_connection.h
DESCRIPTION
Handles a2dp connection.
*/
#ifndef HEADSET_A2DP_CONNECTION_H
#define HEADSET_A2DP_CONNECTION_H
#include <message.h>
#include "headset_private.h"
/****************************************************************************
FUNCTIONS
*/
/*************************************************************************
NAME
a2dpGetLastUsedSource
DESCRIPTION
Retrieve bdaddr and sep of last used A2DP source.
Return value of FALSE indicates no such device.
*/
bool a2dpGetLastUsedSource(bdaddr *addr, a2dp_sep_type *sep_type);
/*************************************************************************
NAME
a2dpReconnectProcedure
DESCRIPTION
Connect to the last A2DP source. Need to see if media has to be connected
as well as the signalling.
*/
void a2dpReconnectProcedure(hsTaskData *app);
/*************************************************************************
NAME
a2dpConnectRequest
DESCRIPTION
Connect to the last AV source the headset was connected to.
*/
void a2dpConnectRequest(hsTaskData *app, bool connect_media);
/*************************************************************************
NAME
a2dpDisconnectRequest
DESCRIPTION
Disconnect from the AV source.
*/
void a2dpDisconnectRequest(hsTaskData *app);
/*************************************************************************
NAME
a2dpIsConnecting
DESCRIPTION
Is the headset currently connecting A2DP.
*/
bool a2dpIsConnecting ( hsTaskData * pApp );
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -