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