* those should be taken care of...
*/
+#define WIN32_NO_STATUS
+
#include <stdarg.h>
-#include <string.h>
-#include "windef.h"
-#include "winbase.h"
-#include "wingdi.h"
-#include "winuser.h"
-#include "mmddk.h"
-#include "mmreg.h"
-#include "msacm.h"
-#include "wine/unicode.h"
-#include "wine/debug.h"
+//#include <string.h>
+#include <windef.h>
+//#include "winbase.h"
+#include <wingdi.h>
+#include <winuser.h>
+#include <mmddk.h>
+#include <mmreg.h>
+#include <msacm.h>
+#include <wine/unicode.h>
+#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wavemap);
if (ash->cbSrcLength > ash->cbSrcLengthUsed)
FIXME("Not all src buffer has been written, expect bogus sound\n");
else if (ash->cbSrcLength < ash->cbSrcLengthUsed)
- ERR("CoDec has read more data than it is allowed to\n");
+ ERR("Codec has read more data than it is allowed to\n");
if (ash->cbDstLengthUsed == 0) {
/* something went wrong in decoding */
return;
}
- if (hWave != wim->u.in.hInnerWave && uMsg != WIM_OPEN)
+ if (uMsg != WIM_OPEN && hWave != wim->u.in.hInnerWave)
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
switch (uMsg) {