git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6522
d7cf8633-e32d-0410-b094-
e92efae38249
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
{
return false;
}
}
+#endif
return true;
}