summaryrefslogtreecommitdiffstats
path: root/src/JackDriver.cpp
AgeCommit message (Collapse)AuthorFilesLines
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
2010-12-15Tolerate insane behaviour of latest SVN Jack (r4089).David Robillard1-8/+10
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2698 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Clean up code.David Robillard1-5/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2692 a436a847-0d15-0410-975c-d299462d15a1
2010-12-15Fix removal of ALSA duplex ports (remove both corresponding canvas ports).David Robillard1-2/+14
Use simpler (and seemingly less lockup prone) blocking ALSA sequencer event API. Only use a ringbuffer for JACK driver. Reduce memory usage. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2690 a436a847-0d15-0410-975c-d299462d15a1
2010-12-14Fix crash when resetting dropouts after JACK dies (fix ticket #513).David Robillard1-1/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2686 a436a847-0d15-0410-975c-d299462d15a1
2010-12-14Use Raul::log for console logging.David Robillard1-5/+5
Print error message if unsubscribed client is not found (Re: ticket #137). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2684 a436a847-0d15-0410-975c-d299462d15a1
2010-09-04My name is David. :)David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2590 a436a847-0d15-0410-975c-d299462d15a1
2010-02-04Use std::string.clear().David Robillard1-2/+2
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2422 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Update copyright dates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@2000 a436a847-0d15-0410-975c-d299462d15a1
2009-05-13Strip trailing whitespace.David Robillard1-40/+40
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
2009-05-12Fix threading issues on Jack exit.David Robillard1-13/+4
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1988 a436a847-0d15-0410-975c-d299462d15a1
2009-05-12Gracefully handle JACK shutdown/zombification/etc.David Robillard1-9/+9
Fix ticket #351. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1984 a436a847-0d15-0410-975c-d299462d15a1
2009-05-09Dramatically reduce resize overhead everywhere.David Robillard1-12/+14
Make alsa driver create individual ports and do minimal work vs naive full refresh when anything changes. Fixes ticket #355. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1967 a436a847-0d15-0410-975c-d299462d15a1
2009-05-03Update waf configuration header for new waf scheme (in 1.5.6).David Robillard1-1/+1
Split low-level LV2 event buffer into separate class from EventBuffer (for reuse). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1958 a436a847-0d15-0410-975c-d299462d15a1
2008-12-21Change configuration header name to something less likely to conflict.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1887 a436a847-0d15-0410-975c-d299462d15a1
2008-12-21Fix crash for very short lived Jack ports (fix ticket #188).David Robillard1-2/+8
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1883 a436a847-0d15-0410-975c-d299462d15a1
2008-10-18Build against local library versions no matter what.... hopefully....David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1677 a436a847-0d15-0410-975c-d299462d15a1
2008-10-03Support building locally against header-only libraries in autowaf.David Robillard1-1/+1
Remove CONFIG_H_PATH define and replace with just "config.h" (define messed up dependency tracking). git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1600 a436a847-0d15-0410-975c-d299462d15a1
2008-09-07Separate PortRef (now PortID) from PatchageEvent.David Robillard1-10/+10
git-svn-id: http://svn.drobilla.net/lad/patchage@1477 a436a847-0d15-0410-975c-d299462d15a1
2008-08-22Lash D-Bus support and projects list from LADI Patchage, with ↵David Robillard1-9/+9
improvements/cleanup/sanification/etc. Remove liblash stuff (meh, what the hell... here's to new beginnings). Enable/disable/hide/etc patchage widgets better based on available (compiled in) functionality. git-svn-id: http://svn.drobilla.net/lad/patchage@1462 a436a847-0d15-0410-975c-d299462d15a1
2008-06-09Fix creation of new ports on split modules (fixes ticket #144).David Robillard1-9/+23
git-svn-id: http://svn.drobilla.net/lad/patchage@1257 a436a847-0d15-0410-975c-d299462d15a1
2008-05-01GCC 4.3 fixes.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/patchage@1191 a436a847-0d15-0410-975c-d299462d15a1
2008-03-16Add Jack D-Bus driver (from Nedko).David Robillard1-1/+28
git-svn-id: http://svn.drobilla.net/lad/patchage@1167 a436a847-0d15-0410-975c-d299462d15a1
2008-02-23Rearrange event port referencing stuff to make a bit more sense.David Robillard1-44/+8
git-svn-id: http://svn.drobilla.net/lad/patchage@1159 a436a847-0d15-0410-975c-d299462d15a1
2008-02-22Minor refresh/initial display speedups.David Robillard1-29/+14
Show window immediately (i.e. don't wait for driving attaching). git-svn-id: http://svn.drobilla.net/lad/patchage@1153 a436a847-0d15-0410-975c-d299462d15a1
2008-02-20Support jack client de-registration event.David Robillard1-3/+22
git-svn-id: http://svn.drobilla.net/lad/patchage@1152 a436a847-0d15-0410-975c-d299462d15a1
2008-02-17Remove Jack API dependence from PatchageEvent.David Robillard1-21/+102
git-svn-id: http://svn.drobilla.net/lad/patchage@1151 a436a847-0d15-0410-975c-d299462d15a1
2008-01-09More patchage refresh performance improvements.David Robillard1-24/+18
git-svn-id: http://svn.drobilla.net/lad/patchage@1044 a436a847-0d15-0410-975c-d299462d15a1
2008-01-09Patchage refresh performance improvementsDavid Robillard1-8/+0
git-svn-id: http://svn.drobilla.net/lad/patchage@1041 a436a847-0d15-0410-975c-d299462d15a1
2007-08-05Improve startup time threefold.David Robillard1-0/+2
git-svn-id: http://svn.drobilla.net/lad/patchage@675 a436a847-0d15-0410-975c-d299462d15a1
2007-07-29Build system fixes, building from top level doesn't recursively configure ↵David Robillard1-1/+1
slv2, but slv2 is still independently packageable/buildable. Think I've finally figured out how to do recursive autohell without resorting to suicide... git-svn-id: http://svn.drobilla.net/lad/patchage@650 a436a847-0d15-0410-975c-d299462d15a1
2007-07-25Avoid some canvas text measuring overhead in Patchage (module resizing).David Robillard1-1/+8
Fix duplex Alsa Sequencer ports (fix ticket 12). git-svn-id: http://svn.drobilla.net/lad/patchage@617 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Possibly fix overlapping MIDI ports (fix ticket 10).David Robillard1-13/+3
git-svn-id: http://svn.drobilla.net/lad/patchage@616 a436a847-0d15-0410-975c-d299462d15a1
2007-07-24Consistently rename all C++ files .cpp/.hpp.David Robillard1-10/+8
Fix (some) inclusion guard names to not clash with other libs. git-svn-id: http://svn.drobilla.net/lad/patchage@613 a436a847-0d15-0410-975c-d299462d15a1
2007-07-05More memory consumption reduction.David Robillard1-13/+10
git-svn-id: http://svn.drobilla.net/lad/patchage@579 a436a847-0d15-0410-975c-d299462d15a1
2007-06-08Use new Jack connection notifications instead of a full refresh (huge ↵David Robillard1-10/+20
performance improvement). git-svn-id: http://svn.drobilla.net/lad/patchage@536 a436a847-0d15-0410-975c-d299462d15a1
2007-06-08Monitor/change ALSA connections without refreshing entire canvas (much faster).David Robillard1-5/+4
Waiting on JACK to provide the notification to do the same.... git-svn-id: http://svn.drobilla.net/lad/patchage@531 a436a847-0d15-0410-975c-d299462d15a1
2007-06-06Nicer Flowcanvas naming.David Robillard1-42/+58
git-svn-id: http://svn.drobilla.net/lad/patchage@529 a436a847-0d15-0410-975c-d299462d15a1
2007-04-06Email address and FSF copyright address updates.David Robillard1-1/+1
git-svn-id: http://svn.drobilla.net/lad/patchage@405 a436a847-0d15-0410-975c-d299462d15a1