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

📄 headset_tones.h

📁 BlueLab 3.5.2 单声道耳机源码
💻 H
字号:
/****************************************************************************
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -