http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84361d5
)
Fixed error code when no mapping is found for wave input.
author
Eric Pouech
<eric.pouech@wanadoo.fr>
Mon, 10 Mar 2003 19:03:08 +0000
(19:03 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Mon, 10 Mar 2003 19:03:08 +0000
(19:03 +0000)
dlls/winmm/wavemap/wavemap.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/winmm/wavemap/wavemap.c
b/dlls/winmm/wavemap/wavemap.c
index 92db66ad56e4420d37cb1837cb525891ed291ef6..20a51f0bdcf131576e8d0e4be73fe78ecc437674 100644
(file)
--- a/
dlls/winmm/wavemap/wavemap.c
+++ b/
dlls/winmm/wavemap/wavemap.c
@@
-145,7
+145,7
@@
static DWORD wodOpen(LPDWORD lpdwUser, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
UINT i;
WAVEMAPDATA* wom = HeapAlloc(GetProcessHeap(), 0, sizeof(WAVEMAPDATA));
- TRACE("(%p %p %08lx\n", lpdwUser, lpDesc, dwFlags);
+ TRACE("(%p %p %08lx
)
\n", lpdwUser, lpDesc, dwFlags);
if (!wom)
return MMSYSERR_NOMEM;
@@
-679,7
+679,7
@@
static DWORD widOpen(LPDWORD lpdwUser, LPWAVEOPENDESC lpDesc, DWORD dwFlags)
}
HeapFree(GetProcessHeap(), 0, wim);
- return
MMSYSERR_ALLOCATED
;
+ return
WAVERR_BADFORMAT
;
found:
if (dwFlags & WAVE_FORMAT_QUERY) {
*lpdwUser = 0L;