projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601c767
)
Sync to Wine-20040914:
author
Gé van Geldorp
<ge@gse.nl>
Sun, 19 Sep 2004 11:13:17 +0000
(11:13 +0000)
committer
Gé van Geldorp
<ge@gse.nl>
Sun, 19 Sep 2004 11:13:17 +0000
(11:13 +0000)
Robert Reif <reif@earthlink.net>
- Don't try to find alternate formats for non PCM formats.
svn path=/trunk/; revision=10913
reactos/lib/winmm/wavemap/wavemap.c
patch
|
blob
|
history
diff --git
a/reactos/lib/winmm/wavemap/wavemap.c
b/reactos/lib/winmm/wavemap/wavemap.c
index
c91bbf4
..
41a5ebe
100644
(file)
--- a/
reactos/lib/winmm/wavemap/wavemap.c
+++ b/
reactos/lib/winmm/wavemap/wavemap.c
@@
-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;