From: havoc Date: Sun, 23 Jul 2006 11:00:35 +0000 (+0000) Subject: disabled WAVE_FORMAT_EXTENSIBLE support as it does not seem to be working X-Git-Tag: xonotic-v0.1.0preview~3858 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2beb0bc7659665abb529707a9bb37ae81756bc93;p=xonotic%2Fdarkplaces.git disabled WAVE_FORMAT_EXTENSIBLE support as it does not seem to be working git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6522 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/snd_win.c b/snd_win.c index 6b022505..2a5fa83f 100644 --- a/snd_win.c +++ b/snd_win.c @@ -152,10 +152,14 @@ static qboolean SndSys_BuildWaveFormat (const snd_format_t* requested, WAVEFORMA pfmtex->nBlockAlign = pfmtex->nChannels * pfmtex->wBitsPerSample / 8; pfmtex->nAvgBytesPerSec = pfmtex->nSamplesPerSec * pfmtex->nBlockAlign; + // LordHavoc: disabled this WAVE_FORMAT_EXTENSIBLE support because it does not seem to be working +#if 0 if (requested->channels <= 2) { +#endif pfmtex->wFormatTag = WAVE_FORMAT_PCM; pfmtex->cbSize = 0; +#if 0 } else { @@ -183,6 +187,7 @@ static qboolean SndSys_BuildWaveFormat (const snd_format_t* requested, WAVEFORMA return false; } } +#endif return true; }