Commit in reactos/lib/winmm/wavemap on MAIN | |||
wavemap.c | +1 | -1 | 1.2 -> 1.3 |
Sync to Wine-20040914: Robert Reif <reif@earthlink.net> - Don't try to find alternate formats for non PCM formats.
diff -u -r1.2 -r1.3 --- wavemap.c 16 Jun 2004 18:40:05 -0000 1.2 +++ wavemap.c 19 Sep 2004 11:13:17 -0000 1.3 @@ -188,7 +188,7 @@
} }
- 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;