diff --git a/ChangeLog b/ChangeLog index 2606c337..701ed611 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,19 @@ --------------------------- Jackdmp changes log ---------------------------- - +--------------------------- + +2007-08-22 Stephane Letz + + * Fix a bug in JackLibClient::Open introduced when adding automatic client renaming. + 2007-08-21 Stephane Letz * Fix backend port alias management (renaming in system:xxx). - + 2007-08-20 Stephane Letz * Automatic server launch. Removes unneeded 'volatile' for JackTransportEngine::fWriteCounter. - + 2007-08-19 Stephane Letz * Add "systemic" latencies management in CoreAudio driver. @@ -17,135 +21,135 @@ 2007-08-16 Stephane Letz * Automatic client renaming. - + 2007-07-27 Stephane Letz * Correct JackEngine::ClientCloseAux (when called from JackEngine::ClientExternalOpen). Correct JackWinEvent::Allocate. - -2007-07-20 Stephane Letz - - * Correct notification for kActivateClient event. - -2007-06-11 Stephane Letz - - * Dmitry Baikov buffer size patch. - -2007-06-10 Stephane Letz - - * Correct deprecated jack_set_sample_rate_callback to return 0 instead of -1. - -2007-06-09 Stephane Letz - - * Checking in the server to avoid calling the clients if no callback are registered. - -2007-06-08 Stephane Letz - - * New JackNotication.h header in preparation for callback checking in the server. - -2007-05-29 Stephane Letz - - * Add "callback exiting" and "jack_frame_time" tests in jack_test. - -2007-05-05 Stephane Letz - - * Add jack_set_client_registration_callback API. - -2007-05-04 Stephane Letz - - * Steven Chamberlain patch to fix jack_port_type. Test for jack_port_type behaviour in jack_test.cpp tool. - -2007-05-03 Stephane Letz - - * Steven Chamberlain patch to fix jack_port_by_id export. - -2007-04-28 Stephane Letz - - * Add new jack_port_set_alias, jack_port_unset_alias and jack_port_get_aliases API. - -2007-04-27 Stephane Letz - - * Add missing -D__SMP__in OSX project. - -2007-04-23 Stephane Letz - - * Dmitry Baikov jackmp-time patch: add jack_get_time, jack_time_to_frames, jack_frames_to_time. - -2007-04-01 Stephane Letz - - * Merge JackGraphManager Remove and Release method in a unique Release method. - -2007-03-04 Stephane Letz - - * Dmitry Baikov patch for JackGraphManager.cpp. - + +2007-07-20 Stephane Letz + + * Correct notification for kActivateClient event. + +2007-06-11 Stephane Letz + + * Dmitry Baikov buffer size patch. + +2007-06-10 Stephane Letz + + * Correct deprecated jack_set_sample_rate_callback to return 0 instead of -1. + +2007-06-09 Stephane Letz + + * Checking in the server to avoid calling the clients if no callback are registered. + +2007-06-08 Stephane Letz + + * New JackNotication.h header in preparation for callback checking in the server. + +2007-05-29 Stephane Letz + + * Add "callback exiting" and "jack_frame_time" tests in jack_test. + +2007-05-05 Stephane Letz + + * Add jack_set_client_registration_callback API. + +2007-05-04 Stephane Letz + + * Steven Chamberlain patch to fix jack_port_type. Test for jack_port_type behaviour in jack_test.cpp tool. + +2007-05-03 Stephane Letz + + * Steven Chamberlain patch to fix jack_port_by_id export. + +2007-04-28 Stephane Letz + + * Add new jack_port_set_alias, jack_port_unset_alias and jack_port_get_aliases API. + +2007-04-27 Stephane Letz + + * Add missing -D__SMP__in OSX project. + +2007-04-23 Stephane Letz + + * Dmitry Baikov jackmp-time patch: add jack_get_time, jack_time_to_frames, jack_frames_to_time. + +2007-04-01 Stephane Letz + + * Merge JackGraphManager Remove and Release method in a unique Release method. + +2007-03-04 Stephane Letz + + * Dmitry Baikov patch for JackGraphManager.cpp. + 2007-02-19 Stephane Letz - * Correct back JackAlsaDriver::Read method. + * Correct back JackAlsaDriver::Read method. 2007-02-14 Stephane Letz * Better error checking in PortAudio driver. - -2007-02-07 Stephane Letz - - * Thom Johansen fix for port buffer alignment issues. - -2007-02-05 Stephane Letz - - * Add Pieter Palmers FreeBob driver. - * Thibault LeMeur ALSA driver patch. - -2007-01-31 Stephane Letz - - * Use pthread_attr_setstacksize in JackPosixThread class. - -2007-01-30 Stephane Letz - - * New LockAllMemory and UnlockAllMemory functions. - -2007-01-29 Stephane Letz - - * More robust activation/deactivation code, especially in case of client crash. - -2007-01-27 Stephane Letz - - * Uses a time out value of 10 sec in freewheel mode (like jack). - -2007-01-21 Stephane Letz - - * More client debug code: check if the client is still valid in every JackDebugClient method, check if the library context is still valid in every API call. - -2007-01-14 Stephane Letz - - * Implement thread.h API. - + +2007-02-07 Stephane Letz + + * Thom Johansen fix for port buffer alignment issues. + +2007-02-05 Stephane Letz + + * Add Pieter Palmers FreeBob driver. + * Thibault LeMeur ALSA driver patch. + +2007-01-31 Stephane Letz + + * Use pthread_attr_setstacksize in JackPosixThread class. + +2007-01-30 Stephane Letz + + * New LockAllMemory and UnlockAllMemory functions. + +2007-01-29 Stephane Letz + + * More robust activation/deactivation code, especially in case of client crash. + +2007-01-27 Stephane Letz + + * Uses a time out value of 10 sec in freewheel mode (like jack). + +2007-01-21 Stephane Letz + + * More client debug code: check if the client is still valid in every JackDebugClient method, check if the library context is still valid in every API call. + +2007-01-14 Stephane Letz + + * Implement thread.h API. + 2007-01-09 Stephane Letz - - * New server/client data transfer model to fix a 64 bits system bug. Fix a device name reversal bug in ALSA driver. - + + * New server/client data transfer model to fix a 64 bits system bug. Fix a device name reversal bug in ALSA driver. + 2007-01-04 Stephane Letz - * Add call to the init callback (set up using the jack_set_thread_init_callback API) in Real-Time and Notification threads. Define a new 'kActivateClient' notification. - + * Add call to the init callback (set up using the jack_set_thread_init_callback API) in Real-Time and Notification threads. Define a new 'kActivateClient' notification. + 2007-01-02 Stephane Letz * Internal cleanup. - + 2006-12-23 Stephane Letz * shared_ports renamed to shared_graph. - + 2006-12-15 Stephane Letz * Move client refnum management in JackEngine. - + 2006-12-12 Stephane Letz * Tom Szilagyi memory leak fix in ringbuffer.c. 2006-11-29 Stephane Letz - * Correct JackWinEnvent::Allocate (handle the ERROR_ALREADY_EXISTS case). Correct JackEngine::ClientExternalNew. + * Correct JackWinEnvent::Allocate (handle the ERROR_ALREADY_EXISTS case). Correct JackEngine::ClientExternalNew. * Karsten Wiese correction for ALSA usx2y driver. 2006-11-22 Stephane Letz diff --git a/common/JackLibClient.cpp b/common/JackLibClient.cpp index 3793deb7..73b8425d 100644 --- a/common/JackLibClient.cpp +++ b/common/JackLibClient.cpp @@ -109,13 +109,12 @@ int JackLibClient::Open(const char* name, jack_options_t options, jack_status_t* #endif */ // Connect shared synchro : the synchro must be usable in I/O mode when several clients live in the same process - if (!fSynchroTable[fClientControl->fRefNum]->Connect(name)) { - jack_error("Cannot ConnectSemaphore %s client", name); + if (!fSynchroTable[fClientControl->fRefNum]->Connect(name_res)) { + jack_error("Cannot ConnectSemaphore %s client", name_res); goto error; } - JackLog("JackLibClient::Open name = %s refnum = %ld\n", name, fClientControl->fRefNum); - + JackLog("JackLibClient::Open name = %s refnum = %ld\n", name_res, fClientControl->fRefNum); return 0; error: diff --git a/tests/jack_test.cpp b/tests/jack_test.cpp index e378e8ca..a95cf872 100644 --- a/tests/jack_test.cpp +++ b/tests/jack_test.cpp @@ -211,7 +211,7 @@ void Jack_Error_Callback(const char *msg) void jack_shutdown(void *arg) { printf("Jack_test has been kicked out by jackd !\n"); - exit (1); + exit(1); } void Jack_Port_Register(jack_port_id_t port, int mode, void *arg)