directsoundacceleratedchannel.cpp

来自「游戏编程精粹2第六章源码」· C++ 代码 · 共 48 行

CPP
48
字号
/* 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.cpp: implementation of the CDirectSoundAcceleratedChannel class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "LowLevelAPI.h"
#include "DirectSoundAcceleratedChannel.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CDirectSoundAcceleratedChannel::CDirectSoundAcceleratedChannel()
{
	
}

CDirectSoundAcceleratedChannel::~CDirectSoundAcceleratedChannel()
{

}

//perform any platform-dependent housekeeping
void CDirectSoundAcceleratedChannel::tick(time_t t,CMixer* parent)
{
}

//returns true if wave format is compatible
bool CDirectSoundAcceleratedChannel::canPlay(const CWaveDesc& soundType)
{
	return false;
}

⌨️ 快捷键说明

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