]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_win.c
disabled WAVE_FORMAT_EXTENSIBLE support as it does not seem to be working
[xonotic/darkplaces.git] / snd_win.c
index 6b0225055b9a8fc3a098911cf861b3a723f0aebf..2a5fa83fee5a5a0c17ef7dcc670b420a8cefa200 100644 (file)
--- 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;
 }