diff --git a/windows/JackWinMutex.h b/windows/JackWinMutex.h index 86ebd22b..47d2d86a 100644 --- a/windows/JackWinMutex.h +++ b/windows/JackWinMutex.h @@ -20,7 +20,9 @@ #ifndef __JackWinMutex__ #define __JackWinMutex__ - + +#include "JackError.h" +#include "JackException.h" #include namespace Jack diff --git a/windows/JackWinNamedPipeServerChannel.cpp b/windows/JackWinNamedPipeServerChannel.cpp index 194e68ac..328d2383 100644 --- a/windows/JackWinNamedPipeServerChannel.cpp +++ b/windows/JackWinNamedPipeServerChannel.cpp @@ -345,7 +345,6 @@ bool JackClientPipeThread::HandleRequest() if (req.Read(fPipe) == 0) { fServer->GetEngine()->SessionNotify(req.fRefNum, req.fDst, req.fEventType, req.fPath, fPipe, NULL); } - res.Write(fPipe); break; } @@ -399,7 +398,7 @@ bool JackClientPipeThread::HandleRequest() JackClientHasSessionCallbackRequest req; JackResult res; if (req.Read(fPipe) == 0) { - fServer->GetEngine()->ClientHasSessionCallbackRequest(req.fName, &res.fResult); + fServer->GetEngine()->ClientHasSessionCallback(req.fName, &res.fResult); } res.Write(fPipe); break; diff --git a/windows/winmme/JackWinMMEDriver.cpp b/windows/winmme/JackWinMMEDriver.cpp index 02eb3433..eb6e6257 100644 --- a/windows/winmme/JackWinMMEDriver.cpp +++ b/windows/winmme/JackWinMMEDriver.cpp @@ -412,7 +412,7 @@ extern "C" // singleton kind of driver if (!driver) { driver = new Jack::JackWinMMEDriver("system_midi", "winmme", engine, table); - if (driver->Open(1, 1, virtual_in, virtual_out, false, "in", "out", 0, 0) == 0) { + if (driver->Open(1, 1, 0, 0, false, "in", "out", 0, 0) == 0) { return driver; } else { delete driver;