20 #include "JackWinNamedPipeServerNotifyChannel.h"
21 #include "JackError.h"
22 #include "JackRequest.h"
23 #include "JackConstants.h"
24 #include "JackNotification.h"
29 int JackWinNamedPipeServerNotifyChannel::Open(
const char* server_name)
31 if (fRequestPipe.Connect(jack_server_dir, server_name, 0) < 0) {
39 void JackWinNamedPipeServerNotifyChannel::Close()
50 void JackWinNamedPipeServerNotifyChannel::Notify(
int refnum,
int notify,
int value)
52 JackClientNotificationRequest req(refnum, notify, value);
53 if (req.Write(&fRequestPipe) < 0) {
54 jack_error(
"Could not write notification ref = %d notify = %d", refnum, notify);
58 void JackWinNamedPipeServerNotifyChannel::NotifyQuit()
SERVER_EXPORT void jack_error(const char *fmt,...)