From: havoc Date: Sat, 8 Mar 2008 19:58:15 +0000 (+0000) Subject: made waveOutWrite overrun a non-fatal (if spammy) warning, and only with X-Git-Tag: xonotic-v0.1.0preview~2329 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85ff1e4d0bb64c1f3d856d5ed661cc18c453db75;p=xonotic%2Fdarkplaces.git made waveOutWrite overrun a non-fatal (if spammy) warning, and only with developer 1000 git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8197 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_win.c b/snd_win.c index 85080631..c6180473 100644 --- a/snd_win.c +++ b/snd_win.c @@ -709,9 +709,10 @@ void SndSys_Submit (void) if (wResult != MMSYSERR_NOERROR) { - Con_Print("Failed to write block to device\n"); - SndSys_Shutdown (); - return; + if (developer.integer >= 1000) + Con_Print("waveOutWrite failed (too much sound data)\n"); + //SndSys_Shutdown (); + //return; } paintpot -= wav_buffer_size;