removed channel_t->end and lastptime, now only pos governs playback
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 May 2007 09:12:25 +0000 (09:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 14 May 2007 09:12:25 +0000 (09:12 +0000)
commitbb245f38395dbc7fc294e797c04a87059c3ac1b7
tree482defc080355f7eedb555c72366e82c27b1b2f8
parentfea22facbbe8a021e4742016a7fcc083b48916e3
removed channel_t->end and lastptime, now only pos governs playback
position, this should make the playback code safer
reworked S_PaintChannels to advance channel pos regardless of volume
changed S_StartSound to delay sounds rather than skip them, which may be
important on short sound effects

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