Commit Graph

8 Commits

Author SHA1 Message Date
Nedko Arnaudov 245897bc6d daemon: jmcore support in virtualizer 2010-04-11 22:24:41 +03:00
Nedko Arnaudov 31f6cb939b daemon: room-studio port creation through jmcore
virtualizer does not know about jmcore yet
2010-04-11 16:45:30 +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 13bc814f0b daemon: fill the Basic room template with ports and copy them when creating studio rooms 2010-03-24 01:11:53 +02:00
Nedko Arnaudov 9e9a127a15 Save clients, ports and dicts 2009-09-21 00:17:41 +03:00
Nedko Arnaudov 3159525589 Properly handle normal clients
* create studio client when first port appears
 * destroy studio client when last port disappears
 * remove disappearing ports from jack graph
2009-09-20 17:33:07 +03:00
Nedko Arnaudov 7a8931a94a graph dict dbus interface and persist canvas positions of modules 2009-09-07 20:53:56 +03:00
Nedko Arnaudov a964d9c768 basic ports 2009-09-06 20:31:42 +03:00