dspfile.h
来自「音频压缩解压缩软件」· C头文件 代码 · 共 29 行
H
29 行
#ifndef _DSPfile_h_
#define _DSPfile_h_
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "WAVfile.h"
#include "def.h"
/*
* This structure manages an opened DSP device.
*/
typedef struct {
int fd; /* Open fd of /dev/dsp */
int dspblksiz; /* Size of the DSP buffer */
char *dspbuf; /* The buffer */
} DSPFILE;
extern DSPFILE *OpenDSP(WAVFILE *wfile,int omode);
extern int PlayDSP(DSPFILE *dfile,WAVFILE *wfile);
extern int RecordDSP(DSPFILE *dfile,WAVFILE *wfile,UInt32 samples);
extern int CloseDSP(DSPFILE *dfile);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?