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

📄 ocwav.h

📁 图像处理的压缩算法
💻 H
字号:
#ifndef _OCWAV_H
#define _OCWAV_H

// Function prototypes in ocwav.c
int	ocWAVReadFile(string strFileName, string strWorksheetName);
int	ocWAVWriteFile(string strFilename, string strWorksheetName, int iColL, int iColR, double dFreqMult, double dAmpMult);
void	ocWAVPlayFile(string strFileName, int iMethod);
void	ocWAVPlayData(string strDatasetName, double dFreqMult, double AmpMult);
int	ocWAVAnalyzeData(string strDasetName1, string strDatasetName2);
int	ImportWAV(Page& pgTarget, TreeNode& trFilter, LPCSTR lpcszFile, int nFile);

// "fmt " chunk - This changes based on Codex. This is the 'PCM' format
struct FORMATCHUNK
{
	unsigned short	iWAVFormat;			// { 0001=PCM | 0101=MULAW | 0102=ALAW | 0103=ADP }
	unsigned short	iWAVChannels;		// { 1 | 2 }
	unsigned int	iWAVFrequency;		// { 44100 | 22050 | 11025 | 8000 | ??? }
	unsigned int	iWAVBytesPerSecond;
	unsigned short	iWAVAlign;			// { 1 | 2 | 4 }
	unsigned short	iWAVBitsPerSample;	// { 8 | 16 }
};

#pragma dll(winmm, system)
#define mciSendString mciSendStringA

int WINAPI mciSendString(string strCommand, string strReturn, int iRetLen, int iCallBack);

#endif // _OCWAV_H

⌨️ 快捷键说明

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