]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
disabled WAVE_FORMAT_EXTENSIBLE support as it does not seem to be working
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Jul 2006 11:00:35 +0000 (11:00 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 23 Jul 2006 11:00:35 +0000 (11:00 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6522 d7cf8633-e32d-0410-b094-e92efae38249

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;
 }