📄 ispeech1_amr.h
字号:
/* * Copyright 2006 * Texas Instruments Incorporated * * All rights reserved. Property of Texas Instruments Incorporated * Restricted rights to use, duplicate or disclose this code are * granted through contract. * *//** * @file ti/xdais/dm/ispeech1_amr.h * * @brief This header defines all types, constants, enums, and functions * that are needed for AMR *//** * @defgroup ti_xdais_dm_ISPEECH1_AMR xDM 1.0 Speech/Voice Interface (AMR) * * This is the xDM 1.0 speech/voice interface shared between the various AMR * codecs. */#ifndef ti_xdais_dm_ISPEECH1_AMR_#define ti_xdais_dm_ISPEECH1_AMR_#include "ispeech1.h"#ifdef __cplusplusextern "C" {#endif/** @ingroup ti_xdais_dm_ISPEECH1_AMR *//*@{*//** * @brief Voice activity detector (VAD) selection. */typedef enum { ISPEECH1_AMR_VADSELECT_VAD1 = 1, /**< VAD 1 */ ISPEECH1_AMR_VADSELECT_VAD2 = 2, /**< VAD 2 */ /** Default setting. */ ISPEECH1_AMR_VADSELECT_DEFAULT = ISPEECH1_AMR_VADSELECT_VAD1} ISPEECH1_AMR_VADSelect;/** * @brief Packing type options for AMR. */typedef enum { ISPEECH1_AMR_PACKTYPE_IF1_NOCRC = 0, /**< Interface format 1, * without CRC check (as per * 3GPP 26.101). */ ISPEECH1_AMR_PACKTYPE_IF1_WITHCRC = 1, /**< Interface format 1, * with CRC check (as per * 3GPP 26.101). */ ISPEECH1_AMR_PACKTYPE_IF2 = 2, /**< Interface format 2 (as * per 3GPP 26.101). */ ISPEECH1_AMR_PACKTYPE_MIME = 3, /**< MIME/MMSIO/file storage * format. */ /** Default setting. */ ISPEECH1_AMR_PACKTYPEFORMAT_DEFAULT = ISPEECH1_AMR_PACKTYPE_IF1_NOCRC} ISPEECH1_AMR_PackingType;/** * @brief Bitrate selection for AMR */typedef enum { ISPEECH1_AMR_BITRATE_4P75 = 0, /**< 4.75 kbps */ ISPEECH1_AMR_BITRATE_5P15 = 1, /**< 5.15 kbps */ ISPEECH1_AMR_BITRATE_5P9 = 2, /**< 5.9 kbps */ ISPEECH1_AMR_BITRATE_6P7 = 3, /**< 6.7 kbps */ ISPEECH1_AMR_BITRATE_7P4 = 4, /**< 7.4 kbps */ ISPEECH1_AMR_BITRATE_7P95 = 5, /**< 7.95 kbps */ ISPEECH1_AMR_BITRATE_10P2 = 6, /**< 10.2 kbps */ ISPEECH1_AMR_BITRATE_12P2 = 7, /**< 12.2 kbps */ /** Default setting. */ ISPEECH1_AMR_BITRATE_DEFAULT = ISPEECH1_AMR_BITRATE_12P2} ISPEECH1_AMR_BitRate;/*@}*/ /* ingroup */#ifdef __cplusplus}#endif#endif /* ti_xdais_dm_ISPEECH1_AMR_ *//* * @(#) ti.xdais.dm; 1, 0, 1, 0,46; 10-18-2006 19:11:35; /db/wtree/library/trees/dais-g07x/src/ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -