ig726.h

来自「g.726编解码源程序」· C头文件 代码 · 共 60 行

H
60
字号
/*
 *  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 + =
减小字号Ctrl + -
显示快捷键?