{
cl.mtime[1] = max(cl.mtime[0], newtime - 0.1);
cl.mtime[0] = newtime;
- if (developer.integer >= 10)
+ if (developer.integer >= 100 && vid_activewindow)
{
if (cl.time < cl.mtime[1] - (cl.mtime[0] - cl.mtime[1]))
Con_Printf("--- cl.time < cl.mtime[1] (%f < %f ... %f)\n", cl.time, cl.mtime[1], cl.mtime[0]);
written = snd_pcm_writei (pcm_handle, buffer, nbframes);
if (written < 0)
{
- if (developer.integer >= 1000)
+ if (developer.integer >= 1000 && vid_activewindow)
Con_Printf ("SndSys_Write: audio write returned %ld (%s)!\n",
written, snd_strerror (written));
err = snd_pcm_delay (pcm_handle, &delay);
if (err != 0)
{
- if (developer.integer >= 1000)
+ if (developer.integer >= 1000 && vid_activewindow)
Con_DPrintf ("SndSys_GetSoundTime: can't get playback delay (%s)\n",
snd_strerror (err));
unsigned int missingFrames;
missingFrames = submissionChunk - frameCount;
- if (developer.integer >= 1000)
+ if (developer.integer >= 1000 && vid_activewindow)
Con_Printf("audioDeviceIOProc: %u sample frames missing\n", missingFrames);
memset(&outBuffer[frameCount * snd_renderbuffer->format.channels], 0, missingFrames * sizeof(outBuffer[0]));
}
snd_renderbuffer->startframe += FrameCount;
- if (FrameCount < RequestedFrames && developer.integer >= 1000)
+ if (FrameCount < RequestedFrames && developer.integer >= 1000 && vid_activewindow)
Con_DPrintf("SDL sound: %u sample frames missing\n", RequestedFrames - FrameCount);
sdlaudiotime += RequestedFrames;