r7563 - trunk/darkplaces

divverent at icculus.org divverent at icculus.org
Sun Sep 9 04:15:29 EDT 2007


Author: divverent
Date: 2007-09-09 04:15:29 -0400 (Sun, 09 Sep 2007)
New Revision: 7563

Modified:
   trunk/darkplaces/snd_main.c
Log is attached.
For now, ground snd_restart and snd_unloadallsounds if the client is still connected, because DP keeps references to the sfx_t * that are being freed in the precache list. A real fix however would be ditching snd_unloadallsounds completely, and making a snd_reload command that unloads the sounds that are not being used at the moment, and reloads the sounds that are referenced.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20070909.081529.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20070909/1f5c60b0/attachment.diff>


More information about the twilight-commits mailing list