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

📄 ppq.h

📁 实现了精简的FFT语音压缩 采取了一种新的算法有一定的参考价值
💻 H
字号:
// PPQ.h: interface for the PPQ class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_)
#define AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "DSP.h"
#include "HGF.h"

class PPQ : public DSPACT  
{
	SELF_SERIALIZE("zzz.ghd@PPQ.DSP","PPQ",DSPACT);

protected:
	virtual bool	AttrSectRecv(BYTE byClassLevels,BYTE byAttrNo,const char* const lpBuff,DWORD dwLen,bool bLast);
	virtual bool	AttrSectSend(BYTE byClassLevels,BYTE byAttrNo,char** const lpBuff,DWORD& dwLen,bool& bContinue);
	virtual bool	Serialize(BYTE byClassLevels,BYTE byAttrNo,DSP::_DSPPACKET &dsp);
	virtual bool	UnSerialize(BYTE byClassLevels,BYTE byAttrNo,DSP::_DSPPACKET &dsp,DWORD dwLen);

public:
	PPQ();
	virtual ~PPQ();

	ifstream	ifs;
	ofstream	ofs;
	bool		m_bBool;
	BOOL		m_bBOOL;
	char		m_cValue;
	BYTE		m_byValue;
	short		m_sValue;
	HGF			m_hgf;
	WORD		m_wValue;
	int			m_iValue;
	DWORD		m_dwValue;
	char		m_chBuff[512];
	std::string	m_str;

	static DSPACT*	GetDSPObject(const std::string& strID)
	{
		return (new PPQ());
	};
};

#endif // !defined(AFX_PPQ_H__5F702B11_0DDB_47EC_9EBD_846F959357C3__INCLUDED_)

⌨️ 快捷键说明

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