⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sample.h

📁 linux环境下用纯c写的RTP协议的通用开发库
💻 H
字号:
/*------------------------------------------------------------------------- * sample.h *------------------------------------------------------------------------- */#ifndef SAMPLE_H#define SAMPE_H/* * Structure to hold stream parameters specific to sample encoding. */struct sampparam {	int sp_samplesz;	/* sample size (bits)		*/	int sp_channels;	/* number of channels		*/};  /*  * Structure to return sample encoding specific return values from read. */struct sampreadparam {	int  sr_shift; /* Bit position within first 			* byte of beginning of data.			*/	bool sr_mark;  /*			* Set to true when marker bit set.			*/};int sampread(struct synsession *, struct synstream *, struct timespec *, mediatime_t *, char *, int, int *, bool *);#endif

⌨️ 快捷键说明

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