Nedko Arnaudov
8f556dac4f
Make audio_acquire() fail if audio_reservation_init() fails.
rd_acquire() is going to assert (or fail) anyway because connection will be NULL.
12 years ago
Alexander Graf
d11bb09529
Add support for aarch64
When compiling jack on aarch64, compilation fails because NGREGS is not
defined. Since this is only for debug output on segmentation faults, stub
the debug print out like it's been done for other platforms before.
Signed-off-by: Alexander Graf <agraf@suse.de>
12 years ago
Nedko Arnaudov
6414cd9dbf
Improved error reporting in device reservation code
rd_acquire() error handling is adjusted to match libdbus error
handling convention:
* Initialize error before calling rd_acquire()
* Free dbus error on rd_acquire() failures
* Always set dbus error on rd_acquire failures, except for
detected programming errors that now cause taboo assert.
12 years ago
Adrian Knoth
89c359eee0
[wscript] More fixes for -Wl,--as-needed
Reportedly, f28523ff54
was incomplete.
12 years ago
Adrian Knoth
a43aad2e91
Fix FTBFS on ppc64
Patch provided by Aurelien Jarno <aurel32@debian.org> in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684470
12 years ago
Adrian Knoth
007cdc3714
Make SA_SIGINFO conditional
SA_SIGINFO isn't defined on hurd, so check before setting it.
This patch was used in Debian since 2010-08-01.
13 years ago
David Henningsson
f82ec71566
jackdbus: Fix sigsegv handling segfaulting by itself
In my case, the siginfo code was -6, causing the sigsegv handling
to crash on its own. This patch adds a range check for siginfo code.
BugLink: https://bugs.launchpad.net/bugs/983835
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
13 years ago
Nedko Arnaudov
fcda41cb59
indention fix
13 years ago
Nedko Arnaudov
83f991900d
switch from set_options() to options()
13 years ago
Nedko Arnaudov
329d83c92b
swtich from uselib/uselib_local to use
13 years ago
Nedko Arnaudov
971b1656d5
switch from bld.new_task_gen() to bld()
jackdbus needs explicit index because device reservation code
is shared with jackd and waf cannot autodetect this.
13 years ago
Adrian Knoth
aa7fe34739
wscript: Fix waf error (missing features) in dbus/wscript
13 years ago
Adrian Knoth
a534162500
wscript: Fix DBUS service file generation
New waf syntax for a subst build.
13 years ago
Adrian Knoth
58036bc80f
Run 2to3 on all wscript files.
Automatically upgrading to python3 syntax, where possible.
13 years ago
sletz
32bc4fa557
Use a time-out in notification channel write function.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4761 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
sletz
1ce0d5cd61
Correction to use public headers in dbus code.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4675 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
nedko
7bbe5971bf
jackdbus: group batch of saves into one
When a parameter is set, jackdbus used to save immediately.
This was quite annoying and ineffective when configuring
lot of parameters without delay. It caused log line to appear
for each parameter set and xml file serialization as well.
This changeset implements delayed save. Parameters are saved
two seconds after last parameter set.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4583 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
nedko
1a205fac42
remove sneaked sleep that caused jack session saves to take long time
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4549 0c269be4-1314-0410-8aa9-9f06e86f4224
13 years ago
Nedko Arnaudov
0f439c74dd
jackdbus: implement session command queue
14 years ago
Nedko Arnaudov
e93e526957
dbus: info log messages for session notify
14 years ago
Nedko Arnaudov
94eea6f4dd
jackdbus: SessionManager interface
14 years ago
sletz
90494cc885
Correct rd_acquire.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4395 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
00fc09b3b8
Make switchmaster a bit more robust.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4394 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
46017940a4
jackdbus: fix link issues
similar to db4b99b5b6
got broken by f94bf7174d
For example jack_error was not linked properly:
jackdbus.c:(.text+0x36): undefined reference to `jack_error'
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4389 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ad34703368
rebase from trunk 4306:4323
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4324 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
5cc529d9cf
jackdbus: slave-drivers parameter
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4317 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
1d06e19943
jackdbus: remove dead prototypes and functions
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4316 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
343a0e8069
jackdbus: params store
This changeset removes code duplication that was caused by lack of
unified access to parameters in the control API. Adding new virtual
parameters should be much easier now.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4315 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
4b9b621a31
jackdbus: remove the libxml backend
It was be problematic in past (FFADO uses libxml as well).
Most systems will have both libxml and expat.
Maintaining two backends is waste of effort.
If needed, the libxml backend can be resurrected.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4314 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
8a845aa02a
jackdbus: Don't emit ServerStopped signal on SwitchMaster
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4313 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
ecb84b5f9f
rebase from trunk 4238:4306
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4307 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
e155b755bc
jackdbus: reduce code duplication
parameter info is transformed to dbus representation in same way for
single and for all parameters
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4293 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
49dffe6226
jackdbus: fix slave driver support
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4292 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
7254ce1ebc
rebase from trunk 4180:4238
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4239 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Devin Anderson
db132e1974
Update server control API with jackctl_server_open and jackctl_server_close (see http://trac.jackaudio.org/ticket/219 for rationale). Update drivers to support Start/Stop of slave drivers. Update dbus to use new jackctl_server_* functions. Freewheel driver is no longer an implicit slave of the master audio driver. Haven't tested freewheeling, and didn't update Solaris OSS driver. Tested slave addition by adding loopback driver, but don't have a slave driver in this branch on Linux platform to test with.
14 years ago
sletz
4828d0c835
rebase from trunk 4041:4083
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4084 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
nedko
6ce74b1443
jackdbus: fix client lookup
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4054 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
Nedko Arnaudov
fda3dbe7ea
jackdbus: reopen log file when it is deleted or replaced
Fix for #190
14 years ago
sletz
7a2863cf55
rebase from trunk 4004:4041
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4042 0c269be4-1314-0410-8aa9-9f06e86f4224
14 years ago
sletz
caa6cd6c27
Adrian Knoth hurd.patch, kfreebsd-fix.patch and alpha_ia64-sigsegv.patch from ticket 177.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4034 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
399936ee92
Remove warning.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4011 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Nedko Arnaudov
d1090f0ddf
jackdbus: dont emit spurious signals. Fix for #174
When server is already in target state, there is no state change
and thus signal for state change should not be emitted
15 years ago
Nedko Arnaudov
becacb17a4
jackdbus: improved handling of server start/stop failures
* Don't override detailed error string with generic one
* Set the D-Bus reply error in case of jackctl_server_stop() failure
* Set the D-Bus reply error in case of jack_controller_patchbay_init() failure
* Don't set the D-Bus reply error in case of jack_deactivate() failure because
this failure does not cause jack_controller_stop_server() failure and thus
will cause memory leak.
15 years ago
sletz
249c0c3b5d
rebase from trunk 3966:4004
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@4005 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
159ce1a594
Apply jackd2-powerpc.patch.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3995 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
sletz
54ebab2cf2
rebase from trunk 3930:3966
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3967 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
Nedko Arnaudov
e7d837eda9
Return error over dbus when server start, stop or switchmaster fails
15 years ago
sletz
5f68a6557a
rebase from trunk 3813:3899
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3900 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
nedko
ddc96f38f0
Fix jackdbus dependencies handling
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3865 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
nedko
d5afe86eef
jackdbus: port renamed signal. Fixes #10
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3847 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago