summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
2020-02-09Format all code with clang-formatDavid Robillard1-61/+77
This configuration tries to get as close to the previous style as possible so the changes aren't too dramatic. It's still far from ideal and the code could use some adaptation, but this makes things much easier to work on.
2020-02-09Remove standard using declarationsDavid Robillard1-14/+13
2020-02-09Remove unused using declarationsDavid Robillard1-1/+0
2019-12-29Clean up includesDavid Robillard1-10/+11
2016-07-08Add option to disable port sortingDavid Robillard1-5/+7
Fixes #1082
2015-12-04Bring back Jack buffer size selectorDavid Robillard1-0/+1
2015-10-06Fix compilation with Jack metadataDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5749 a436a847-0d15-0410-975c-d299462d15a1
2015-10-06Fix compilation with older JackDavid Robillard1-7/+16
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5748 a436a847-0d15-0410-975c-d299462d15a1
2015-02-22Support Jack port order metadata.David Robillard1-31/+33
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5598 a436a847-0d15-0410-975c-d299462d15a1
2015-02-17Delete trailing whitespace.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5582 a436a847-0d15-0410-975c-d299462d15a1
2015-02-16Distinguish edge color from port color slighly.David Robillard1-2/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5577 a436a847-0d15-0410-975c-d299462d15a1
2014-08-08Fix various warnings.David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5421 a436a847-0d15-0410-975c-d299462d15a1
2014-05-05Support Jack CV and OSC via metadata.David Robillard1-20/+44
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5398 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5371 a436a847-0d15-0410-975c-d299462d15a1
2014-04-26Tolerate duplicate port wackiness gracefully.David Robillard1-1/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5366 a436a847-0d15-0410-975c-d299462d15a1
2014-04-06Resurrect toolbar with Jack info and dropout indicator.David Robillard1-11/+28
Move legend to right hand side of toolbar. Store toolbar visible state in configuration. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5359 a436a847-0d15-0410-975c-d299462d15a1
2014-04-06Support port pretty names via new Jack metadata API.David Robillard1-2/+19
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1
2014-03-31Make port colours configurable.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5350 a436a847-0d15-0410-975c-d299462d15a1
2014-03-30StateManager => Configuration.David Robillard1-4/+5
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5348 a436a847-0d15-0410-975c-d299462d15a1
2014-03-15Fix crashes due to invalid format strings (fix #963).David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5337 a436a847-0d15-0410-975c-d299462d15a1
2013-12-19FDGL: Improve flow-directed layout.David Robillard1-0/+3
Allow apps to specify nodes as sources to improve layout. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5186 a436a847-0d15-0410-975c-d299462d15a1
2013-03-17Update copyright date.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5087 a436a847-0d15-0410-975c-d299462d15a1
2012-03-27Delete trailing whitespace.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@4112 a436a847-0d15-0410-975c-d299462d15a1
2012-01-18Use consistent *_config.h rather than *-config.h.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3963 a436a847-0d15-0410-975c-d299462d15a1
2011-12-06FlowCanvas's successor is hereby dubbed Ganv.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3820 a436a847-0d15-0410-975c-d299462d15a1
2011-12-02Connection => Edge.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3745 a436a847-0d15-0410-975c-d299462d15a1
2011-12-01Move color stuff down to C level.David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3733 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Remove linear searching for connections.David Robillard1-1/+1
Remove redundant connection lists stored in Connectable. Add arrange and straight connections options to flowcanvas_bench. Add Connection::set_curved(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3652 a436a847-0d15-0410-975c-d299462d15a1
2011-11-27Document public API.David Robillard1-1/+1
Remove weird canvas parent event handler stuff. Normalize selection rectangle and simplify "within" methods accordingly. Move Port::disconnect_all() to Connectable::disconnect_all(). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3649 a436a847-0d15-0410-975c-d299462d15a1
2011-11-26Fix potential crash on exit.David Robillard1-1/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3640 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Remove Raul dependency.David Robillard1-13/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3633 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Remove cruft.David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3631 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Log (almost) everything to the messages window instead of the console.David Robillard1-56/+35
Remove latency and load stuff in favour of plain old messages. Remove status bar. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3627 a436a847-0d15-0410-975c-d299462d15a1
2011-11-25Switch to GPLv3+.David Robillard1-7/+6
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3623 a436a847-0d15-0410-975c-d299462d15a1
2011-06-11Remove dead code.David Robillard1-13/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3385 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Clean up show/hide (gnomecanvas items are visible by default).David Robillard1-1/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3380 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Automatically resize modules at update time as necessary.David Robillard1-3/+0
This avoids the huge multiple resize performance problems of the past without requiring the user to manually resize modules. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3375 a436a847-0d15-0410-975c-d299462d15a1
2011-06-09Fix support for multiple instances of alsa clients with the same name (never ↵David Robillard1-52/+18
consider client name an ID). Remove Alsa specific crap from PatchagePort. Sane implementation of AlsaDriver::refresh. Fix refreshing. Remove useless Jack graph order callback. Fix double add/remove of ports to modules. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3374 a436a847-0d15-0410-975c-d299462d15a1
2011-06-07Remove use of smart pointers in FlowCanvas entirely.David Robillard1-46/+33
Since FlowCanvas's containers own their children, there is no real benefit to using smart pointers for objects, though there is overhead. There are no longer any add or remove methods for containers, simply create (new) and destroy (delete) objects and things should work as expected. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3366 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use sane typedefs for collections.David Robillard1-4/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3365 a436a847-0d15-0410-975c-d299462d15a1
2011-06-06Use a care pointer reference to containing module rather than boost::weak_ptr.David Robillard1-3/+3
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3364 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Remove use of boost::enable_shared_from_this<Canvas>.David Robillard1-4/+1
Instead, just store a pointer to the containing canvas in Items, since it should not be possible for an Item to outlive its containing Canvas anyway. Shrinks Item memory overhead a tad and gives a minor performance boost as an added bonus. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3354 a436a847-0d15-0410-975c-d299462d15a1
2011-06-03Better alignment of various class fields (save an insignificant amount of ↵David Robillard1-3/+3
memory). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3351 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Preliminary Jack session support in Patchage (as a session manager).David Robillard1-4/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3302 a436a847-0d15-0410-975c-d299462d15a1
2011-05-20Use a (smaller, simpler) statusbar instead of a toolbar.David Robillard1-14/+6
Display more useful latency information (e.g. latency in ms as well as frames). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3300 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Update copyright headersDavid Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3153 a436a847-0d15-0410-975c-d299462d15a1
2011-04-16Squeeze blank lines and delete trailing whitespace.David Robillard1-26/+0
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@3152 a436a847-0d15-0410-975c-d299462d15a1
2011-01-09Code cleanups (cpplint).David Robillard1-12/+11
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2804 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Improve performance for setups with many apps or ports.David Robillard1-7/+14
(Eliminate all linear searches for items, except one case for Jack ports which is unavoidable due to the Jack API, but is memoized, so each port will only be searched for once between refreshes). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2712 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Improve JACK refresh performance significantly.David Robillard1-12/+22
Remove (slow) PatchageCanvas::get_item and PatchageCanvas::get_port. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2711 a436a847-0d15-0410-975c-d299462d15a1