修改添加了ghost服务端的主要代码,relese版本环境编译通过

This commit is contained in:
changcheng
2020-05-22 00:56:51 +08:00
parent 6a882cb6f4
commit e1bbb1530f
30 changed files with 553 additions and 105 deletions

View File

@@ -1,7 +1,7 @@
// Audio.cpp: implementation of the CAudio class.
//
//////////////////////////////////////////////////////////////////////
#include "..\CcMainDll\CcMainDll\pch.h"
#include "Audio.h"
//////////////////////////////////////////////////////////////////////
@@ -143,8 +143,8 @@ bool CAudio::InitializeWaveOut()
if (!waveOutGetNumDevs())
return false;
for (int i = 0; i < 2; i++)
int i = 0;
for (i = 0; i < 2; i++)
memset(m_lpOutAudioData[i], 0, m_nBufferLength);
MMRESULT mmResult;