[Scummvm-cvs-logs] CVS: scummvm windows.cpp,1.19,1.20

Ludvig Strigeus strigeus at users.sourceforge.net
Tue Nov 27 10:36:02 CET 2001


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv23539

Modified Files:
	windows.cpp 
Log Message:
fixed sound in GDI version

Index: windows.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/windows.cpp,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** windows.cpp	2001/11/26 19:57:57	1.19
--- windows.cpp	2001/11/27 18:35:58	1.20
***************
*** 873,878 ****
  	wfx.nBlockAlign = BITS_PER_SAMPLE * 1 / 8;
  
! //	CreateThread(NULL, 0, (unsigned long (__stdcall *)(void *))&sound_thread, this, 0, &_threadId);
! //	SetThreadPriority((void*)_threadId, THREAD_PRIORITY_HIGHEST);
  
  	_event = CreateEvent(NULL, false, false, NULL);
--- 873,878 ----
  	wfx.nBlockAlign = BITS_PER_SAMPLE * 1 / 8;
  
! 	CreateThread(NULL, 0, (unsigned long (__stdcall *)(void *))&sound_thread, this, 0, &_threadId);
! 	SetThreadPriority((void*)_threadId, THREAD_PRIORITY_HIGHEST);
  
  	_event = CreateEvent(NULL, false, false, NULL);
***************
*** 890,895 ****
  	bool signaled;
  	int time = GetTickCount(), cur;
- 
- 	return 0;
  
  	while (1) {
--- 890,893 ----





More information about the Scummvm-git-logs mailing list