X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=snd_win.c;h=080122487a821d438a0e25eaad3070e4139294f0;hb=2000fe0dea529231a494c63436f171829cbf43e5;hp=ca33b89d7ab471159a2f8f1129cb614dd3d510d9;hpb=e2f2f1d0bdb1e489c0b8c97d0d847dd5228d899e;p=xonotic%2Fdarkplaces.git diff --git a/snd_win.c b/snd_win.c index ca33b89d..08012248 100644 --- a/snd_win.c +++ b/snd_win.c @@ -17,8 +17,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "quakedef.h" -#include "snd_main.h" #ifdef SUPPORTDIRECTX #ifndef DIRECTSOUND_VERSION @@ -31,6 +29,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif +#include "qtypes.h" +#include "quakedef.h" +#include "snd_main.h" + // ============================================================================== #ifndef _WAVEFORMATEXTENSIBLE_ @@ -716,8 +718,8 @@ void SndSys_Submit (void) snd_sent++; else if (wResult == WAVERR_STILLPLAYING) { - if(developer.integer >= 1000) - Con_Print("waveOutWrite failed (too much sound data)\n"); + if(developer_insane.integer) + Con_DPrint("waveOutWrite failed (too much sound data)\n"); //h->dwFlags |= WHDR_DONE; //snd_sent++; } @@ -769,7 +771,7 @@ unsigned int SndSys_GetSoundTime (void) { if (snd_completed == snd_sent) { - Con_DPrint("Sound overrun\n"); + // Con_DPrint("Sound overrun\n"); break; }