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

📄 ig726.h

📁 g.726编解码源程序
💻 H
字号:
/*
 *  Copyright 2002 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) RF3_UART_G726 1.00.00 07-18-02 (swat-c03)" */
/*
 *  Copyright 2001 by Texas Instruments Incorporated.
 *  All rights reserved. Property of Texas Instruments Incorporated.
 *  Restricted rights to use, duplicate or disclose this code are
 *  granted through contract.
 *  
 */
/* "@(#) XDAS 2.2.1 12-07-01 (__imports)" */
/*
 *  ======== ig726.h ========
 *  This header defines all types and constants common to all G726
 *  encoder and decoder modules.
 */
#ifndef IG726_
#define IG726_

/*
 *  ======== IG726_Cmd ========
 *  This structure defines the control commands for the G726 encoder
 *  and decoder instance objects.
 */
typedef enum IG726_Cmd {
    IG726_GETSTATUS,
    IG726_SETSTATUS,
    IG726_END_COMMANDS
} IG726_Cmd;

/*
 *  ======== IG726_Mode ========
 *  This structure defines the possible working modes for the G726 encoder
 *  and decoder instance objects.
 */
typedef enum IG726_Mode {
    IG726_LINEAR,
    IG726_ULAW,
    IG726_ALAW
} IG726_Mode;

/*
 *  ======== IG726_Rate ========
 *  This structure defines the possible working rates for the G726 encoder
 *  and decoder instance objects. 
 */
typedef enum IG726_Rate {
    IG726_16KBPS,       /* 16k bits per second */
    IG726_24KBPS,       /* 24k bits per second */
    IG726_32KBPS,       /* 32k bits per second */
    IG726_40KBPS        /* 40k bits per second */
} IG726_Rate;

#endif  /* IG726_ */

⌨️ 快捷键说明

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