From 2beb0bc7659665abb529707a9bb37ae81756bc93 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 23 Jul 2006 11:00:35 +0000 Subject: [PATCH] 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 --- snd_win.c | 5 +++++ 1 file changed, 5 insertions(+) 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; } -- 2.39.2