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
Nedko Arnaudov
e7d837eda9
Return error over dbus when server start, stop or switchmaster fails
15 years ago
nedko
6aebfde97d
jackdbus: don't print error during normal flow
Even if client is subscribed to jack server start/stop signals,
there is a timeframe between jack server stop and signal delivery.
In this frame, calls that require started server will fail.
This is part of normal operation and should not be treated as real error.
With this changeset, error is reported through dbus but no error is printed
in the log file
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3843 0c269be4-1314-0410-8aa9-9f06e86f4224
15 years ago
nedko
aab8a77bfb
Fix typo in dbus introspection.
UnlooadInternal -> UnloadInternal
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3680 0c269be4-1314-0410-8aa9-9f06e86f4224
15 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
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
9e113a0712
Expose through introspection signals of D-Bus control interface
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2937 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
17acaa9277
Change DBUS LoadInternal and UnlooadInternal return type to void, use jack_dbus_error internally.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2869 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
032f2e3a73
Signals for server started and stopped
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@2778 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