[Scummvm-cvs-logs] CVS: scummvm/morphos morphos_sound.cpp,1.2,1.3

Ruediger Hanke tomjoad at users.sourceforge.net
Sat Apr 6 07:58:03 CEST 2002


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

Modified Files:
	morphos_sound.cpp 
Log Message:
Attempt to fix an audio problem somebody reported which I can't reproduce ...

Index: morphos_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/morphos/morphos_sound.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** morphos_sound.cpp	4 Apr 2002 14:05:54 -0000	1.2
--- morphos_sound.cpp	6 Apr 2002 15:57:34 -0000	1.3
***************
*** 211,222 ****
  		{
  			if( CheckSignal( SIGBREAKF_CTRL_F ) )
- 			{
- 				if( ahiReqSent[ ahiCurBuf ] )
- 				{
- 					AbortIO( (struct IORequest *)ahiReq[ ahiCurBuf ] );
- 					WaitIO ( (struct IORequest *)ahiReq[ ahiCurBuf ] );
- 				}
  				break;
- 			}
  
  			if( !snd_driv.wave_based() )
--- 211,215 ----
***************
*** 249,253 ****
--- 242,249 ----
  
  				if( ahiReqSent[ ahiCurBuf ] )
+ 				{
  					WaitIO( (struct IORequest *)req );
+ 					ahiReqSent[ ahiCurBuf ] = FALSE;
+ 				}
  
  				if( CheckSignal( SIGBREAKF_CTRL_F ) )
***************
*** 271,274 ****
--- 267,276 ----
  			}
  		}
+ 	}
+ 
+ 	if( ahiReqSent[ ahiCurBuf ] )
+ 	{
+ 		AbortIO( (struct IORequest *)ahiReq[ ahiCurBuf ] );
+ 		WaitIO ( (struct IORequest *)ahiReq[ ahiCurBuf ] );
  	}
  





More information about the Scummvm-git-logs mailing list