|
|
@@ -55,10 +55,14 @@ void JackMachServerNotifyChannel::Notify(int refnum, int notify, int value) |
|
|
|
|
|
|
|
|
void JackMachServerNotifyChannel::NotifyQuit() |
|
|
void JackMachServerNotifyChannel::NotifyQuit() |
|
|
{ |
|
|
{ |
|
|
|
|
|
#ifdef MAC_OS_X_VERSION_10_5 |
|
|
|
|
|
// Nothing : since exception does not work in this case on pre Snow Loopard systems, see JackMachServerChannel::Close() |
|
|
|
|
|
#else |
|
|
kern_return_t res = rpc_jack_client_rt_notify(fClientPort.GetPort(), -1, kQUIT, 0, 0); |
|
|
kern_return_t res = rpc_jack_client_rt_notify(fClientPort.GetPort(), -1, kQUIT, 0, 0); |
|
|
if (res != KERN_SUCCESS) { |
|
|
if (res != KERN_SUCCESS) { |
|
|
jack_error("Could not write request ref = %d notify = %d err = %s", -1, kQUIT, mach_error_string(res)); |
|
|
jack_error("Could not write request ref = %d notify = %d err = %s", -1, kQUIT, mach_error_string(res)); |
|
|
} |
|
|
} |
|
|
|
|
|
#endif |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} // end of namespace |
|
|
} // end of namespace |
|
|
|