wavemap SRC on non PCM
Robert Reif
reif at earthlink.net
Wed Aug 18 18:48:53 CDT 2004
Don't try to find alternate formats for non PCM formats.
-------------- next part --------------
Index: dlls/winmm/wavemap/wavemap.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wavemap/wavemap.c,v
retrieving revision 1.36
diff -u -r1.36 wavemap.c
--- dlls/winmm/wavemap/wavemap.c 14 Jun 2004 17:55:03 -0000 1.36
+++ dlls/winmm/wavemap/wavemap.c 18 Aug 2004 23:45:13 -0000
@@ -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;
More information about the wine-patches
mailing list