]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_sdl.c
unsigned long vs. size_t printf format warning fix
[xonotic/darkplaces.git] / snd_sdl.c
index 32990af8d3e5c5540daf1275c9c87c912505d4a1..793fc6a2554718d995084186ce79a4490a4bf7d0 100644 (file)
--- a/snd_sdl.c
+++ b/snd_sdl.c
@@ -73,8 +73,8 @@ static void Buffer_Callback (void *userdata, Uint8 *stream, int len)
 
                snd_renderbuffer->startframe += FrameCount;
 
-               if (FrameCount < RequestedFrames && developer.integer >= 1000 && vid_activewindow)
-                       Con_Printf("SDL sound: %u sample frames missing\n", RequestedFrames - FrameCount);
+               if (FrameCount < RequestedFrames && developer_insane.integer && vid_activewindow)
+                       Con_DPrintf("SDL sound: %u sample frames missing\n", RequestedFrames - FrameCount);
 
                sdlaudiotime += RequestedFrames;
 
@@ -249,3 +249,15 @@ void SndSys_UnlockRenderBuffer (void)
 {
        SDL_UnlockAudio();
 }
+
+/*
+====================
+SndSys_SendKeyEvents
+
+Send keyboard events originating from the sound system (e.g. MIDI)
+====================
+*/
+void SndSys_SendKeyEvents(void)
+{
+       // not supported
+}