]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
check vid_activewindow in several spammy prints that occur when the client is running...
[xonotic/darkplaces.git] / snd_sdl.c
index 01f1bdcddc3633cd9e1ad12e25ccf88532c67d7d..bcef10da61f624eeed322fc850dbb7be369f6a4d 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -62,7 +62,7 @@ static void Buffer_Callback (void *userdata, Uint8 *stream, int len)
 
        snd_renderbuffer->startframe += FrameCount;
 
-       if (FrameCount < RequestedFrames && developer.integer >= 200)
+       if (FrameCount < RequestedFrames && developer.integer >= 1000 && vid_activewindow)
                Con_DPrintf("SDL sound: %u sample frames missing\n", RequestedFrames - FrameCount);
 
        sdlaudiotime += RequestedFrames;