headset_tones.h
来自「BlueLab 3.5.2 单声道耳机源码」· C头文件 代码 · 共 72 行
H
72 行
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.6.2-release
FILE NAME
headset_tones.h
DESCRIPTION
header file which defines all of the tones which can be used in BC4 headset
*/
#ifndef HEADSET_TONES_H
#define HEADSET_TONES_H
#include "headset_soundmanager.h"
/****************************************************************************
FUNCTIONS
*/
/****************************************************************************
NAME
TonesInit
DESCRIPTION
Initialise the tones functions
RETURNS
void
*/
void TonesInit ( hsTaskData * pApp ) ;
/****************************************************************************
NAME
TonesConfigureEvent
DESCRIPTION
Configures a tones event mapping - used to playback a tone
RETURNS
void
*/
void TonesConfigureEvent ( hsTaskData * pApp , headsetEvents_t pEvent , HeadsetTone_t pTone ) ;
/****************************************************************************
NAME
TonesPlayTone
DESCRIPTION
Playsback the tone given by the heasdsetTone_t index
RETURNS
void
*/
void TonesPlayTone ( hsTaskData * pApp , HeadsetTone_t pTone ) ;
/****************************************************************************
NAME
ToneIsDefined
DESCRIPTION
Helper fn to determine if a tone has been defined or not
RETURNS
bool
*/
bool ToneIsDefined ( HeadsetTone_t pTone ) ;
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?