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
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 Arnaudov
0f439c74dd
jackdbus: implement session command queue
13 years ago
Nedko Arnaudov
94eea6f4dd
jackdbus: SessionManager interface
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
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
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
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
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
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
187a3aedfa
rebase from trunk 3563:3613
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3614 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
56f4d13ecb
In combined --dbus and --classic compilation ode, use PulseAudio acquire/release code.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3603 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
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
16 years ago
sletz
7ca13a6b25
rebase from trunk 3528:3550
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3551 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
51f6a07821
D-Bus access for jackctl_server_add_slave/jackctl_server_remove_slave API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3530 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
b4f737eb1b
rebase from trunk 3502:3528
git-svn-id: http://subversion.jackaudio.org/jack/jack2/branches/libjacknet@3529 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
c972442a7c
D-Bus control for switch master API.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3519 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
nedko
4f871f28c7
Refactor dbus configure interface; always have a selected driver, default one
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3018 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
3e01068967
Merge Michael Voigt drops branch after reorganization step.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2880 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
6642ea118d
Implement DBUS entry points to handle internal clients, add new commands in jack_control.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2866 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
nedko
7182714af5
Fix segfault. Closes #86
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2861 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
15e1d6730a
Correct jack_controller_create and jackctl_server_create.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2829 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
a52cb6eaa4
Internal clients enumeration working.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2817 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
sletz
58596f44f3
Implement internal clients enumeration.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2816 0c269be4-1314-0410-8aa9-9f06e86f4224
16 years ago
nedko
b5bd3afb28
Add conditional includes for config.h, for use with waf
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2423 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
cfc0debf96
Cleanup files
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2342 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago
sletz
e44ab5b9ad
Merge from control branch: missing files
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2340 0c269be4-1314-0410-8aa9-9f06e86f4224
17 years ago