]> icculus.org git repositories - divverent/darkplaces.git/commit
added a parameter to S_StopChannel to trigger a mutex lock, this fixes
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 12:06:55 +0000 (12:06 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 2 Mar 2008 12:06:55 +0000 (12:06 +0000)
commit0cf2622e2b4e005dfc7b33e56889736234dbdae5
tree9316a6ffd50a293750b94c53954dd86750316e78
parentb82ff4db9726e00a4155002fab18fc303889f33e
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

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8176 d7cf8633-e32d-0410-b094-e92efae38249
cd_shared.c
dpvsimpledecode.c
snd_main.c
snd_mix.c
snd_null.c
sound.h