git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1719 0c269be4-1314-0410-8aa9-9f06e86f4224tags/0.69
@@ -15,7 +15,12 @@ Kjetil S.Matheussen | |||||
Jackdmp changes log | Jackdmp changes log | ||||
--------------------------- | --------------------------- | ||||
2007-11-28 Stephane Letz <letz@grame.fr> | |||||
2007-11-30 Stephane Letz <letz@grame.fr> | |||||
* Correct JackMachNotifyChannel::ClientNotify. | |||||
2007-11-29 Stephane Letz <letz@grame.fr> | |||||
* Correct fPeriodUsecs computation in JackAudioDriver::SetBufferSize and JackAudioDriver::SetSampleRate. | * Correct fPeriodUsecs computation in JackAudioDriver::SetBufferSize and JackAudioDriver::SetSampleRate. | ||||
2007-11-28 Stephane Letz <letz@grame.fr> | 2007-11-28 Stephane Letz <letz@grame.fr> | ||||
@@ -56,7 +56,7 @@ void JackSocketNotifyChannel::ClientNotify(int refnum, const char* name, int not | |||||
jack_error("Could not write notification"); | jack_error("Could not write notification"); | ||||
fNotifySocket.Close(); | fNotifySocket.Close(); | ||||
*result = -1; | *result = -1; | ||||
return ; | |||||
return; | |||||
} | } | ||||
// Read the result in "synchronous" mode only | // Read the result in "synchronous" mode only | ||||
@@ -50,13 +50,15 @@ void JackMachNotifyChannel::Close() | |||||
void JackMachNotifyChannel::ClientNotify(int refnum, const char* name, int notify, int sync, int value, int* result) | void JackMachNotifyChannel::ClientNotify(int refnum, const char* name, int notify, int sync, int value, int* result) | ||||
{ | { | ||||
*result = 0; | |||||
kern_return_t res = (sync) | kern_return_t res = (sync) | ||||
? rpc_jack_client_sync_notify(fClientPort.GetPort(), refnum, (char*)name, notify, value, result) | ? rpc_jack_client_sync_notify(fClientPort.GetPort(), refnum, (char*)name, notify, value, result) | ||||
: rpc_jack_client_async_notify(fClientPort.GetPort(), refnum, (char*)name, notify, value); | : rpc_jack_client_async_notify(fClientPort.GetPort(), refnum, (char*)name, notify, value); | ||||
if (res != KERN_SUCCESS) { | |||||
jack_error("JackMachNotifyChannel::ClientNotify: name = %s notify = %ld err = %s", name, notify, mach_error_string(res)); | |||||
} | |||||
if (res == KERN_SUCCESS) { | |||||
*result = 0; | |||||
} else { | |||||
jack_error("JackMachNotifyChannel::ClientNotify: name = %s notify = %ld err = %s", name, notify, mach_error_string(res)); | |||||
*result = -1; | |||||
} | |||||
} | } | ||||
} // end of namespace | } // end of namespace | ||||
@@ -3299,6 +3299,7 @@ | |||||
ppc, | ppc, | ||||
); | ); | ||||
COPY_PHASE_STRIP = YES; | COPY_PHASE_STRIP = YES; | ||||
DEAD_CODE_STRIPPING = YES; | |||||
DEBUG_INFORMATION_FORMAT = dwarf; | DEBUG_INFORMATION_FORMAT = dwarf; | ||||
DYLIB_COMPATIBILITY_VERSION = 1; | DYLIB_COMPATIBILITY_VERSION = 1; | ||||
DYLIB_CURRENT_VERSION = 1; | DYLIB_CURRENT_VERSION = 1; | ||||
@@ -3464,6 +3465,7 @@ | |||||
i386, | i386, | ||||
); | ); | ||||
COPY_PHASE_STRIP = YES; | COPY_PHASE_STRIP = YES; | ||||
DEAD_CODE_STRIPPING = YES; | |||||
DEBUG_INFORMATION_FORMAT = dwarf; | DEBUG_INFORMATION_FORMAT = dwarf; | ||||
DYLIB_COMPATIBILITY_VERSION = 1; | DYLIB_COMPATIBILITY_VERSION = 1; | ||||
DYLIB_CURRENT_VERSION = 1; | DYLIB_CURRENT_VERSION = 1; | ||||