student.h
来自「基于PCM和CVSD技术的语音编码仿真:在VC6.0环境下」· C头文件 代码 · 共 46 行
H
46 行
/*==================================================================================================
Header Name: Student.h
General Description: Header codes of Student.c.
====================================================================================================
Semit
(c) Copyright SEMIT 2002, All Rights Reserved
Revision History:
Modification Tracking
------------------------- ------------ ---------- -------------------------------------------------
Author Date Number Description of Changes
------------------------- ------------ ------------------------------------------------------------
Semit 08/5/2002 Unknown A-Law PCM and CVSD encode and decode functions declare
--------------------------------------------------------------------------------------------------*/
#ifndef STUDENT_H
#define STUDENT_H
/*====================================================================================================
INCLUDE FILES
==================================================================================================*/
/*==================================================================================================
MACRO DEFINATIONS
==================================================================================================*/
#define STUDENT_DLL extern "C" __declspec( dllexport )
#define PI 3.14159265358
/*==================================================================================================
STRUCTURES AND OTHER TYPEDEFS
==================================================================================================*/
typedef struct StudentCVSD{
int Encode[30];
double Decode[30];
}STUDENT_CVSD, *PSTUDENT_CVSD;
/*==================================================================================================
CONSTANTS
==================================================================================================*/
/*==================================================================================================
EXPORT FUNCTION PROTOTYPES
==================================================================================================*/
STUDENT_DLL unsigned char PCM_StudentAlawEncode(int InputValue) ;
STUDENT_DLL int PCM_StudentAlawDecode(unsigned char CodeValue);
STUDENT_DLL STUDENT_CVSD* CVSD_StudentEncode(int Amplitude, int SampleTimes, int Frequency);
STUDENT_DLL STUDENT_CVSD* CVSD_StudentDecode(int SampleTimes);
/*================================================================================================*/
#endif/*STUDENT_H*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?