implemented threaded audio mixing for SDL client (required some
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Feb 2008 15:22:17 +0000 (15:22 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Feb 2008 15:22:17 +0000 (15:22 +0000)
commitcd5581199cb9c33255024144859164e36fcaa166
tree1f4e7ba14beeddac331b5f0e402aedda9504c23f
parent5567b4caee4ef070c074969d9e1ddb67289c8f86
implemented threaded audio mixing for SDL client (required some
minor clean up of S_PaintAndSubmit and the functions it called, the
buffer painting management makes a lot more sense now)
fixed bug with looping sounds mixing sound to the wrong part of the
buffer after looping (uses a pointer instead of paintbuffer now)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8146 d7cf8633-e32d-0410-b094-e92efae38249
snd_main.c
snd_main.h
snd_mix.c
snd_sdl.c