sample.h
来自「linux环境下用纯c写的RTP协议的通用开发库」· C头文件 代码 · 共 31 行
H
31 行
/*------------------------------------------------------------------------- * 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 + =
减小字号Ctrl + -
显示快捷键?