Commit Graph

33 Commits

Author SHA1 Message Date
Laxmi Devi 1335d72497 JackControlAPI: Jack threads to notify failure to jackd by posting an event
On failure, currently the jack thread exits without notifying the jackd.
So jackd is just waiting for the signals, unaware of the failure.
With this implementation, on error threads can post an event to jackd
notifying it to to exit.

(cherry picked from adit commit c430be1e337f52aba8312f7d29990e190cad204a)

Change-Id: Ib484bb1e126f6bff0db76d44e6e036f92f5d8806
Signed-off-by: Laxmi Devi <Laxmi.Devi@in.bosch.com>
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
2023-07-24 21:33:03 +02:00
falkTX f19176657c Fix blocking DBus device reservation, so it plays nice with others 2019-10-28 11:16:09 +01:00
Nedko Arnaudov c8cac65cad remove the JackSelfConnectMode enum type
It was introduced before the parameter was actually exposed.
The parameter is exposed through a char type in both jackd and
jackdbus, thus a mappnig was required.

This changeset removes the enum and makes the code simpler
at the expense of not allowing arbitrary chars as values.
As it is exposed and used in sessions, it is not arbitrary anyway.
2014-03-10 22:01:13 +02:00
Adrian Knoth f1a5a7dc43 Merge no-self-connect branch
Conflicts:
	common/JackEngine.cpp
	common/JackServer.cpp
2013-04-06 22:19:44 +02:00
Stephane Letz e111f2ac8f Protect shared fSynchroTable access with a mutex. 2013-01-09 16:05:48 +01:00
Nedko Arnaudov 1685eec0b0 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackEngine.cpp
	common/JackServerGlobals.cpp
	common/Jackdmp.cpp
2011-03-14 22:13:11 +02:00
sletz e27f815216 Rework internal slave driver management, JackServerGlobals now handle same parameters as jackdmp.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4184 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-13 12:56:30 +00:00
sletz b1cbecba6b JackEngine::ComputeTotalLatencies in progress.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4167 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-09 21:45:34 +00:00
sletz 92c5da66da Revert r4119 (RT notification in the server). JackAudioDriver::ProcessSync now skip backend write in case of graph process failure. Fix incorrect error codes in alsa/usx2y.c and alsa/JackAlsaDriver.cpp.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4143 0c269be4-1314-0410-8aa9-9f06e86f4224
2011-03-04 11:02:25 +00:00
Nedko Arnaudov f3a8d21b52 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackServer.cpp
	common/JackServer.h
	common/JackServerGlobals.cpp
2010-02-10 21:28:50 +02:00
sletz 7453e5b018 Dynamic choice of maximum port number.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3828 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-11-24 16:52:22 +00:00
Nedko Arnaudov e418ea102a Merge branch 'master' into no-self-connect
Conflicts:
	common/Jackdmp.cpp
2009-11-19 23:13:20 +02:00
sletz 136672723a Simplify server temporary mode : now use a JackTemporaryException.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3784 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-11-13 15:56:10 +00:00
sletz 5e5da014fb Typo(s).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3667 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-25 09:36:36 +00:00
sletz 1864b36159 Correct server temporary mode : now set a global and quit after server/client message handling is finished.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3650 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-10-17 19:59:11 +00:00
Nedko Arnaudov 6db194b354 Merge branch 'master' into no-self-connect
Conflicts:
	common/JackControlAPI.cpp
2009-07-07 21:18:39 +03:00
nedko 3aa9b525c3 Move dbus device reservation code to jackdbus
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3579 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-07-07 17:18:11 +00:00
Nedko Arnaudov aab13501f4 self_connect_mode engine parameter 2009-05-26 14:05:34 +03:00
sletz 3482655f46 Cleanup loopback stuff in server.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3531 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-05-07 10:41:30 +00:00
sletz 8146837a13 First working version of native MIDI backend (JackCoreMidiDriver, JackWinMMEDriver).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3526 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-05-05 14:49:59 +00:00
sletz c284e58b88 Clock source setting on Linux (in progress).
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3508 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-04-20 14:01:41 +00:00
sletz 32a83a3df7 Cleanup server starting code for clients directly linked with libjackserver.so.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3248 0c269be4-1314-0410-8aa9-9f06e86f4224
2009-01-14 15:01:58 +00:00
sletz 2b0a516f73 Another Tim Blechmann patch to remove unnecessary virtual methods.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2512 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-06-12 13:09:59 +00:00
sletz e11d85964c Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2103 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-29 14:09:04 +00:00
sletz ecb8da58c7 Beautifull code
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1909 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-03-05 16:39:51 +00:00
sletz 3665f6300d OSX 32/64 bits version.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1770 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-01-25 10:21:46 +00:00
sletz a39c8feb47 Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1765 0c269be4-1314-0410-8aa9-9f06e86f4224
2008-01-12 11:03:50 +00:00
sletz 76baaf8d4a Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1687 0c269be4-1314-0410-8aa9-9f06e86f4224
2007-11-01 21:46:14 +00:00
sletz f16634bb6d Implementation of server_name setting (-n) in progress
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1638 0c269be4-1314-0410-8aa9-9f06e86f4224
2007-10-24 10:44:15 +00:00
sletz a8d2dcdb01 Cleanup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1581 0c269be4-1314-0410-8aa9-9f06e86f4224
2007-10-07 13:14:15 +00:00
sletz ebdf021fd4 Fix a resource leak issue in JackCoreAudioDriver::Close(). Better implement jack_client_open when linking a client with the server library.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1561 0c269be4-1314-0410-8aa9-9f06e86f4224
2007-10-04 14:23:35 +00:00
sletz b1925e9e6f Implement server temporary (-T) mode.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1529 0c269be4-1314-0410-8aa9-9f06e86f4224
2007-08-24 13:51:12 +00:00
sletz 73e2d7a6d3 First import
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1195 0c269be4-1314-0410-8aa9-9f06e86f4224
2006-09-03 07:39:10 +00:00