Module darkplaces: Change committed

molivier at icculus.org molivier at icculus.org
Wed Mar 24 03:07:07 EST 2004


Commiter   : molivier
CVSROOT    : /cvs/cvsroot/twilight
Module     : darkplaces
Commit time: 2004-03-24 08:07:07 UTC

Log message:

Fixed the sounds not being advanced in time while not being listened. This is a long standing bug I think, it looks like the original Quake source code has it too, though I haven't tested. Each channel now remembers the last time it was painted, and so it can resume the play at the appropriate position if it missed some painting rounds.
Also, added a check to avoid looped sounds being overridden when picking a channel.

Modified files:
     snd_dma.c snd_mix.c sound.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20040324.080707.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040324/c7ad5a13/attachment.diff>


More information about the twilight-commits mailing list