g711.h

来自「ITU-T G.711语音编解码程序」· C头文件 代码 · 共 46 行

H
46
字号
/*  ============================================================================   File: G711.H                                          ============================================================================                            UGST/ITU-T G711 MODULE                          GLOBAL FUNCTION PROTOTYPES   History:   10.Dec.91	v1.0	First version <hf@pkinbg.uucp>   08.Feb.92	v1.1	Non-ANSI prototypes added <tdsimao@venus.cpqd.ansp.br>   11.Jan.96    v1.2    Fixed misleading prototype parameter names in                        alaw_expand() and ulaw_compress(); changed to			smart prototypes <simao@ctd.comsat.com>,			and <Volker.Springer@eedn.ericsson.se>   31.Jan.2000  v3.01   [version no.aligned with g711.c] Updated list of                         compilers for smart prototypes  ============================================================================*/#ifndef G711_defined#define G711_defined 301/* Smart function prototypes: for [ag]cc, VaxC, and [tb]cc */#if !defined(ARGS)#if (defined(__STDC__) || defined(VMS) || defined(__DECC)  || defined(MSDOS) || defined(__MSDOS__)) || defined (__CYGWIN__) || defined (_MSC_VER)#define ARGS(s) s#else#define ARGS(s) ()#endif#endif/* Function prototypes */void  alaw_compress ARGS((long lseg, short *linbuf, short *logbuf));void  alaw_expand ARGS((long lseg, short *logbuf, short *linbuf));void  ulaw_compress ARGS((long lseg, short *linbuf, short *logbuf));void  ulaw_expand ARGS((long lseg, short *logbuf, short *linbuf));/* Definitions for better user interface (?!) */#define IS_LIN 1#define IS_LOG 0#endif/* .......................... End of G711.H ........................... */

⌨️ 快捷键说明

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