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

📄 directsoundacceleratedchannel.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"
 */
// DirectSoundAcceleratedChannel.h: interface for the CDirectSoundAcceleratedChannel class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DIRECTSOUNDACCELERATEDCHANNEL_H__9BACE94F_178E_4D23_A2DC_BD7E383FECC0__INCLUDED_)
#define AFX_DIRECTSOUNDACCELERATEDCHANNEL_H__9BACE94F_178E_4D23_A2DC_BD7E383FECC0__INCLUDED_

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

#include "Mixer.h"

class CDirectSoundAcceleratedChannel : public CMixer::channel  
{
public:
	CDirectSoundAcceleratedChannel();
	virtual ~CDirectSoundAcceleratedChannel();

	//perform any platform-dependent housekeeping
	virtual void tick(time_t t,CMixer* parent);

	//returns true if wave format is compatible
	virtual bool canPlay(const CWaveDesc& soundType);

};

#endif // !defined(AFX_DIRECTSOUNDACCELERATEDCHANNEL_H__9BACE94F_178E_4D23_A2DC_BD7E383FECC0__INCLUDED_)

⌨️ 快捷键说明

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