📄 wave.h
字号:
#ifndef WAVE_H
#define WAVE_H
#include <windows.h> // define this before MMSYSTEM.H
#include <mmsystem.h> // mmio functions.
class CWave
{
public:
DWORD Wave_Size; // the size of this wave data
char * Wave_Data; // a point to the wave data;
WAVEFORMATEX * lpWaveFormatEx; // the wave format
public:
// Open a wave file
CWave();
CWave(LPSTR fn);
~CWave();
BOOL LoadWaveFile(LPSTR fn);
DWORD GetWaveSize();
char *GetWaveData();
WAVEFORMATEX *GetWaveFormatEXPtr();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -