📄 sample.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 + -