]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_win.c
Added the drawing functions and added also probably menu only message functions
[xonotic/darkplaces.git] / snd_win.c
index 67c7d2fb502a4384b28c296fbb24bc82979a3128..427f7c66e218a1f4fd840a529c5b10727cf5bad9 100644 (file)
--- a/snd_win.c
+++ b/snd_win.c
@@ -190,7 +190,7 @@ sndinitstat SNDDMA_InitDirect (void)
        int                             reps;
        int i;
 
-       memset(shm, 0, sizeof(*shm));
+       memset((void *)shm, 0, sizeof(*shm));
        shm->channels = 2;
        shm->samplebits = 16;
        i = COM_CheckParm ("-sndspeed"); // LordHavoc: -sndspeed option
@@ -423,7 +423,7 @@ qboolean SNDDMA_InitWav (void)
        snd_sent = 0;
        snd_completed = 0;
 
-       memset(shm, 0, sizeof(*shm));
+       memset((void *)shm, 0, sizeof(*shm));
        shm->channels = 2;
        shm->samplebits = 16;
        i = COM_CheckParm ("-sndspeed"); // LordHavoc: -sndspeed option
@@ -671,9 +671,7 @@ void SNDDMA_Submit(void)
        {
                if ( snd_completed == snd_sent )
                {
-#ifndef AKVERSION
                        Con_DPrintf ("Sound overrun\n");
-#endif
                        break;
                }