Commit Graph

18 Commits

Author SHA1 Message Date
Nedko Arnaudov ebce813997 Fix unused-parameter warnings in plain C code 2012-12-02 23:50:05 +02:00
Nedko Arnaudov 9202dae129 cdbus: remove lash traces
* rename cdbus header include guards to use CDBUS_ instead of LASH_DBUS_
 * remove dbus/error.h and dbus/error.c

error.h contained lash/ladish specific error strings and
lash_dbus_error() prototype. lash_dbus_error() is renamed to
cdbus_error() and its implementation is moved to dbus/method.c. The
D-Bus error strings that have DBUS_ERROR_XXX matches are removed and
their uses are switched to the libdbus variants. The ladish specific
error strings are moved to dbus_constants.h
2011-11-06 00:10:10 +02:00
Nedko Arnaudov 5bb96d51e7 damon: Proper room lifecycle
* Room creation/destruction is now separeted from starting/stopping
   (creating/destroying jmcore links)
 * Rooms can now be created and destryed when studio is stopped
 * Rooms are started/stopped when studio is started/stopped

Apart from better interraction of studio start/stop and room
lifecycles, it is now possible to implement load of studio with rooms
because during studio load rooms have to be created in stopped state
and eventually started only at later stage, during studio start.
2010-07-20 01:31:37 +03:00
Nedko Arnaudov 7c10be38cf daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
Nedko Arnaudov c90661388f daemon: on studio stop, hide only non-virtual graph objects
Representation of rooms in studio graph must not be hidden on server stop
2010-04-05 04:35:08 +03:00
Nedko Arnaudov 81c3e70f33 daemon: on studio stop, stop room apps as well 2010-04-03 19:33:25 +03:00
Nedko Arnaudov fc21df8068 daemon: better implementation of server stop timeout workaround
* current time check is more precise
 * waits during command executions are suboptimal because they block the main loop
2010-03-06 02:17:51 +02:00
Nedko Arnaudov 58be0887f5 daemon: on studio stop, wait apps to finish before stopping jack server. Fix for #24 2009-12-12 01:41:20 +02:00
Nedko Arnaudov 27c9709164 daemon: dump graphs just before studio stop 2009-12-12 01:33:32 +02:00
Nedko Arnaudov 78c2ccb202 daemon: on studio stop, wait for our clients to disappear before stopping the JACK server 2009-12-11 22:55:19 +02:00
Nedko Arnaudov 760fd1bd67 daemon: set proper state after JACK server stop is detected in the hard way 2009-12-08 20:30:52 +02:00
Nedko Arnaudov c1869c29a6 daemon: better handling of jack server stop failure
sometimes jack server stop request fails, even if it does actually stop
shortly after. in this case ladish will wait 5 seconds before giving up.
2009-12-06 14:35:59 +02:00
Nedko Arnaudov 25a3b9981d daemon: what for 3 seconds before stopping server
let apps shut down cleanly. dharanamrs reports problems on stop
and this will prove whether not waiting for app stop is causing them
2009-12-05 20:48:36 +02:00
Nedko Arnaudov 2bbcd652a8 ladishd: stop apps on studio stop 2009-12-05 00:54:41 +02:00
Nedko Arnaudov 5ef9e1e006 ladishd: hide connections unless remove is explicitly requested
explicit disconnects must remove connection objects
implicit disconnects because of port disappear or external disconnect must
cause hide so when studio is stopped and then started, connections are restored.
2009-11-29 01:58:37 +02:00
Nedko Arnaudov 17c848f1fd ladishd: fix behaviour after complete of jack server start and stop commands 2009-11-25 04:05:56 +02:00
Nedko Arnaudov 4d061b7a39 execute commands in queue 2009-11-25 03:52:00 +02:00
Nedko Arnaudov 1b1d5bbfa9 command queue; not really used yet 2009-10-19 01:16:59 +03:00