r8176 - trunk/darkplaces

havoc at icculus.org havoc at icculus.org
Sun Mar 2 07:06:55 EST 2008


Author: havoc
Date: 2008-03-02 07:06:55 -0500 (Sun, 02 Mar 2008)
New Revision: 8176

Modified:
   trunk/darkplaces/cd_shared.c
   trunk/darkplaces/dpvsimpledecode.c
   trunk/darkplaces/snd_main.c
   trunk/darkplaces/snd_mix.c
   trunk/darkplaces/snd_null.c
   trunk/darkplaces/sound.h
Log is attached.
added a parameter to S_StopChannel to trigger a mutex lock, this fixes
crashes in the SDL audio callback when S_StopChannel clears fields while
they are being used in the mixer (this mostly crashed on level changes),
the mutex lock itself is done simply by calling SndSys_LockRenderBuffer


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080302.120655.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20080302/0f9b6751/attachment.diff>


More information about the twilight-commits mailing list