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

📄 wave.h

📁 游戏编程精粹2第六章源码
💻 H
字号:
/* Copyright (C) Ian Lewis, 2001. 
 * All rights reserved worldwide.
 *
 * This software is provided "as is" without express or implied
 * warranties. You may freely copy and compile this source into
 * applications you distribute provided that the copyright text
 * below is included in the resulting source code, for example:
 * "Portions Copyright (C) Ian Lewis, 2001"
 */
// Wave.h: interface for the CWave class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_WAVE_H__21041404_44A1_4191_BDBA_F89B0162F060__INCLUDED_)
#define AFX_WAVE_H__21041404_44A1_4191_BDBA_F89B0162F060__INCLUDED_

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

#include "WaveDesc.h"

/*
Wave
The basic building block of the audio
infrastructure. Contains raw audio data
whose structure is defined by the
CWaveDesc member.
*/

class CWave  
{
protected:
	CWaveDesc description;//describes the structure of the wave data

	BYTE* data;
public:
	CWave();
	virtual ~CWave();

	//access functions
	const CWaveDesc& getDescription() const {return description;}
	BYTE* getData(){return data;}
};

#endif // !defined(AFX_WAVE_H__21041404_44A1_4191_BDBA_F89B0162F060__INCLUDED_)

⌨️ 快捷键说明

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