📄 hust_rtplibcommon.h
字号:
/*------------------------------------------------------------------------- * rtplibcommon.h *------------------------------------------------------------------------- */#ifndef RTPLIBCOMMON_H#define RTPLIBCOMMON_H///#ifdef LINUX////#include <linux.h>///#endif /* LINUX */#include <ipOS.h>#include <ipHAL.h>typedef char bool;typedef unsigned long int ssrc_t;typedef unsigned long int mediatime_t;typedef unsigned short seq_t;//////////////*********for linuxtypedef long time_t;#define INADDR_ANY 0//////////////////for linux /////////////////#define min(a, b) (a < b ? a : b)#define max(a, b) (a < b ? b : a)#define TRUE 1#define FALSE 0#define OK 0#define ERROR -1#ifndef NULL#define NULL 0#endif /* !NULL *///////************************************** type in linux **************************//////////u32_t random();float drand48();//////**********************************************************************************///////////* * Uncomment the line below to include * experimental support for inter-stream * and inter-session synchronization. *//*#define RTPLIB_SYNCHRONIZE*/#endif /* !RTPLIBCOMMON_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -