Commit c7101211 authored by Robert Reif's avatar Robert Reif Committed by Alexandre Julliard

Don't try to find alternate formats for non PCM formats.

parent ece5e478
......@@ -188,7 +188,7 @@ static DWORD wodOpen(LPDWORD lpdwUser, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
}
}
if ((dwFlags & WAVE_FORMAT_DIRECT) == 0) {
if ((dwFlags & WAVE_FORMAT_DIRECT) == 0 && lpDesc->lpFormat->wFormatTag == WAVE_FORMAT_PCM) {
WAVEFORMATEX wfx;
wfx.wFormatTag = WAVE_FORMAT_PCM;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment