Module darkplaces: Change committed
molivier at icculus.org
molivier at icculus.org
Tue Mar 23 03:28:39 EST 2004
Commiter : molivier
CVSROOT : /cvs/cvsroot/twilight
Module : darkplaces
Commit time: 2004-03-23 08:28:39 UTC
Log message:
Ogg vorbis streaming support; the code decides whether it will cache or stream the sound depending on the file and uncompressed sound sizes. It should be stable enough for a regular use now; you lose a few FPS once every second or so of course, it's not free, but you can expect the Vorbis stream to use between 5 and 12 times less memory than before, depending on the sound quality and the number of SFX sources using it. This patch also contains a couple of fixes (a pretty annoying typo in the OSS and BSD driver - 22051Hz instead of 22050Hz, and a potential memory leak in WAV loader)
Modified files:
snd_bsd.c snd_dma.c snd_mem.c snd_mix.c snd_ogg.c snd_ogg.h
snd_oss.c snd_win.c sound.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: darkplaces.20040323.082839.molivier.diff
URL: <http://icculus.org/pipermail/twilight-commits/attachments/20040323/02e8fe83/attachment.diff>
More information about the twilight-commits
mailing list