]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_win.c
made various things take const pointers (optimizer hint), commented out and/or remove...
[xonotic/darkplaces.git] / snd_win.c
index 1fb72b99808199d83b3657f02cc0b20befc99df4..2a6c088acae023030d679cd90c1f04cf9a936c58 100644 (file)
--- a/snd_win.c
+++ b/snd_win.c
@@ -654,6 +654,8 @@ int SNDDMA_GetDMAPos(void)
        {
                s = snd_sent * WAV_BUFFER_SIZE;
        }
+       else
+               s = 0;
 
 
        s >>= sample16;