Commit Graph

11 Commits

Author SHA1 Message Date
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 9a1015f50f daemon: register studio on dbus before rooms 2010-07-21 06:55:03 +03: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 3126bbdb5d daemon: when destroying room, remove its hidden app ports. Fixes #87
If ports stay hidden in JACK graph and they get reused, no vgraph will exist
2010-05-10 22:33:40 +03:00
Nedko Arnaudov 7c10be38cf daemon: coherent naming of studio related functions 2010-05-05 00:35:10 +03:00
Nedko Arnaudov 94093265e2 daemon: initial implementation of user notification 2010-04-18 01:49:36 +03:00
Nedko Arnaudov de772730a5 daemon: fix port lifecycle problem that was causing crash
There are three types of ports depeneding on references to them:
 * ports that are referenced from jack and studio graphs
 * ports that are referenced from jack and room graphs
 * studio-room link ports that are referenced from studio and room graphs

The old approach was to destroy ports when removing references from jack graph.
Studio-room link ports were destroyed when removing the room.
However this caused double free when removing app ports that appear in jack and
room graphs.

The introduced implementation uses reference counting of graph references to ports.
Temporary references (like the one returned by port constructor and graph_get_port())
are not tracked.
2010-04-04 21:08:20 +03:00
Nedko Arnaudov 96967baa78 Remove studio rooms on studio unload 2010-03-21 16:48:04 +02:00
Nedko Arnaudov 0b6ad2626f ladishd: app list serialization; autolaunch on load 2009-12-05 00:42:40 +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