Commit fb2ed949 authored by sletz's avatar sletz
Browse files

Fix a bug in JackLibClient::Open introduced when adding automatic client renaming


git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1526 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 37f77ece
---------------------------
Jackdmp changes log
---------------------------
---------------------------
2007-08-22 Stephane Letz <letz@grame.fr>
* Fix a bug in JackLibClient::Open introduced when adding automatic client renaming.
2007-08-21 Stephane Letz <letz@grame.fr>
* Fix backend port alias management (renaming in system:xxx).
2007-08-20 Stephane Letz <letz@grame.fr>
* Automatic server launch. Removes unneeded 'volatile' for JackTransportEngine::fWriteCounter.
2007-08-19 Stephane Letz <letz@grame.fr>
* Add "systemic" latencies management in CoreAudio driver.
......@@ -17,135 +21,135 @@
2007-08-16 Stephane Letz <letz@grame.fr>
* Automatic client renaming.
2007-07-27 Stephane Letz <letz@grame.fr>
* Correct JackEngine::ClientCloseAux (when called from JackEngine::ClientExternalOpen). Correct JackWinEvent::Allocate.
2007-07-20 Stephane Letz <letz@grame.fr>
* Correct notification for kActivateClient event.
2007-06-11 Stephane Letz <letz@grame.fr>
* Dmitry Baikov buffer size patch.
2007-06-10 Stephane Letz <letz@grame.fr>
* Correct deprecated jack_set_sample_rate_callback to return 0 instead of -1.
2007-06-09 Stephane Letz <letz@grame.fr>
* Checking in the server to avoid calling the clients if no callback are registered.
2007-06-08 Stephane Letz <letz@grame.fr>
* New JackNotication.h header in preparation for callback checking in the server.
2007-05-29 Stephane Letz <letz@grame.fr>
* Add "callback exiting" and "jack_frame_time" tests in jack_test.
2007-05-05 Stephane Letz <letz@grame.fr>
* Add jack_set_client_registration_callback API.
2007-05-04 Stephane Letz <letz@grame.fr>
* Steven Chamberlain patch to fix jack_port_type. Test for jack_port_type behaviour in jack_test.cpp tool.
2007-05-03 Stephane Letz <letz@grame.fr>
* Steven Chamberlain patch to fix jack_port_by_id export.
2007-04-28 Stephane Letz <letz@grame.fr>
* Add new jack_port_set_alias, jack_port_unset_alias and jack_port_get_aliases API.
2007-04-27 Stephane Letz <letz@grame.fr>
* Add missing -D__SMP__in OSX project.
2007-04-23 Stephane Letz <letz@grame.fr>
* Dmitry Baikov jackmp-time patch: add jack_get_time, jack_time_to_frames, jack_frames_to_time.
2007-04-01 Stephane Letz <letz@grame.fr>
* Merge JackGraphManager Remove and Release method in a unique Release method.
2007-03-04 Stephane Letz <letz@grame.fr>
* Dmitry Baikov patch for JackGraphManager.cpp.
2007-07-20 Stephane Letz <letz@grame.fr>
* Correct notification for kActivateClient event.
2007-06-11 Stephane Letz <letz@grame.fr>
* Dmitry Baikov buffer size patch.
2007-06-10 Stephane Letz <letz@grame.fr>
* Correct deprecated jack_set_sample_rate_callback to return 0 instead of -1.
2007-06-09 Stephane Letz <letz@grame.fr>
* Checking in the server to avoid calling the clients if no callback are registered.
2007-06-08 Stephane Letz <letz@grame.fr>
* New JackNotication.h header in preparation for callback checking in the server.
2007-05-29 Stephane Letz <letz@grame.fr>
* Add "callback exiting" and "jack_frame_time" tests in jack_test.
2007-05-05 Stephane Letz <letz@grame.fr>
* Add jack_set_client_registration_callback API.
2007-05-04 Stephane Letz <letz@grame.fr>
* Steven Chamberlain patch to fix jack_port_type. Test for jack_port_type behaviour in jack_test.cpp tool.
2007-05-03 Stephane Letz <letz@grame.fr>
* Steven Chamberlain patch to fix jack_port_by_id export.
2007-04-28 Stephane Letz <letz@grame.fr>
* Add new jack_port_set_alias, jack_port_unset_alias and jack_port_get_aliases API.
2007-04-27 Stephane Letz <letz@grame.fr>
* Add missing -D__SMP__in OSX project.
2007-04-23 Stephane Letz <letz@grame.fr>
* Dmitry Baikov jackmp-time patch: add jack_get_time, jack_time_to_frames, jack_frames_to_time.
2007-04-01 Stephane Letz <letz@grame.fr>
* Merge JackGraphManager Remove and Release method in a unique Release method.
2007-03-04 Stephane Letz <letz@grame.fr>
* Dmitry Baikov patch for JackGraphManager.cpp.
2007-02-19 Stephane Letz <letz@grame.fr>
* Correct back JackAlsaDriver::Read method.
* Correct back JackAlsaDriver::Read method.
2007-02-14 Stephane Letz <letz@grame.fr>
* Better error checking in PortAudio driver.
2007-02-07 Stephane Letz <letz@grame.fr>
* Thom Johansen fix for port buffer alignment issues.
2007-02-05 Stephane Letz <letz@grame.fr>
* Add Pieter Palmers FreeBob driver.
* Thibault LeMeur ALSA driver patch.
2007-01-31 Stephane Letz <letz@grame.fr>
* Use pthread_attr_setstacksize in JackPosixThread class.
2007-01-30 Stephane Letz <letz@grame.fr>
* New LockAllMemory and UnlockAllMemory functions.
2007-01-29 Stephane Letz <letz@grame.fr>
* More robust activation/deactivation code, especially in case of client crash.
2007-01-27 Stephane Letz <letz@grame.fr>
* Uses a time out value of 10 sec in freewheel mode (like jack).
2007-01-21 Stephane Letz <letz@grame.fr>
* 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 <letz@grame.fr>
* Implement thread.h API.
2007-02-07 Stephane Letz <letz@grame.fr>
* Thom Johansen fix for port buffer alignment issues.
2007-02-05 Stephane Letz <letz@grame.fr>
* Add Pieter Palmers FreeBob driver.
* Thibault LeMeur ALSA driver patch.
2007-01-31 Stephane Letz <letz@grame.fr>
* Use pthread_attr_setstacksize in JackPosixThread class.
2007-01-30 Stephane Letz <letz@grame.fr>
* New LockAllMemory and UnlockAllMemory functions.
2007-01-29 Stephane Letz <letz@grame.fr>
* More robust activation/deactivation code, especially in case of client crash.
2007-01-27 Stephane Letz <letz@grame.fr>
* Uses a time out value of 10 sec in freewheel mode (like jack).
2007-01-21 Stephane Letz <letz@grame.fr>
* 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 <letz@grame.fr>
* Implement thread.h API.
2007-01-09 Stephane Letz <letz@grame.fr>
* 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 <letz@grame.fr>
* 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 <letz@grame.fr>
* Internal cleanup.
2006-12-23 Stephane Letz <letz@grame.fr>
* shared_ports renamed to shared_graph.
2006-12-15 Stephane Letz <letz@grame.fr>
* Move client refnum management in JackEngine.
2006-12-12 Stephane Letz <letz@grame.fr>
* Tom Szilagyi memory leak fix in ringbuffer.c.
2006-11-29 Stephane Letz <letz@grame.fr>
* 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 <letz@grame.fr>
......
......@@ -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:
......
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment