📄 student.h
字号:
/*==================================================================================================
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -