13
0
livetrax/libs/pbd
David Robillard 338e83d9dc Implement LV2 worker extension.
This is done by way of a generic Worker object/thread, which currently just
applies to one LV2 plugin, but the idea is to share one thread and set of
buffers among many plugins.  The same pattern may also be useful elsewhere in
Ardour.  The responding part gets a bit tricker when sharing a worker between
plugins, it's not a blocker, and I'm lazy, sooo here's this.

This commit also adds a new portable in-process semaphore to PBD.  The existing
one is pretty weird and uses a named semaphore on OSX for reasons unknown to
me.  Perhaps as a quick fix to avoid POSIX semaphores being utterly broken on
OSX?  It would probably be a good idea to replace that with this new one, which
uses Mach kernel semaphores on OSX which work well, though I am not sure how
pedantically real-time safe they are to signal.


git-svn-id: svn://localhost/ardour2/branches/3.0@11790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-05 00:15:54 +00:00
..
boost-debug Fix local include. 2009-04-30 16:47:51 +00:00
macosx rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
pbd Implement LV2 worker extension. 2012-04-05 00:15:54 +00:00
test Missing file. 2012-04-02 13:52:36 +00:00
.cvsignore rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
base_ui.cc Update region peak amplitude when the region is trimmed (#3931). 2011-04-04 12:21:26 +00:00
basename.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
boost_debug.cc fixes for 98% of all the warnings/errors reported by OS X gcc on tiger 2011-09-30 17:55:14 +00:00
cartesian.cc switch cartesian/spherical function names and make them use length. still a tweak needed here 2011-02-24 18:55:33 +00:00
ChangeLog rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
clear_dir.cc use Glib::build_filename() to construct fullpath, rather than doing it by hand (hello, windows) 2010-07-22 14:50:47 +00:00
cocoa_open_uri.mm make ardour3 build and link on OS X (tiger, at least) 2010-11-13 05:14:48 +00:00
command.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
controllable_descriptor.cc add non-functional meta-controls for 2in/2out panning, to control direction+width. support exists in OSC and MIDI maps. no GUI elements yet 2010-11-28 21:28:54 +00:00
controllable.cc Slightly unpleasant fix for creation of tracks from 2011-11-16 23:03:59 +00:00
convert.cc Remove unused ustring version of url_decode(). Rework 2012-04-01 14:30:06 +00:00
COPYING rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
cpus.cc use JACK thread creation functions to create process-graph threads; provide GUI control over number of threads-relative-to-number-of-CPUS 2010-06-24 14:13:45 +00:00
crossthread.cc Update region peak amplitude when the region is trimmed (#3931). 2011-04-04 12:21:26 +00:00
debug_rt_alloc.c Missing files. 2011-01-19 21:49:14 +00:00
debug.cc Fix typo. 2012-01-09 01:59:52 +00:00
dmalloc.cc rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
enums.cc Remove unused bits. 2011-03-04 00:35:01 +00:00
enumwriter.cc Add basic test of playlist layering. 2011-12-15 14:33:20 +00:00
epa.cc forward port EPA changes from 2.X 2011-01-07 16:25:57 +00:00
error.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
event_loop.cc allow invalidation-of-UI-request-by-object-deletion to work more often by setting the event loop record at connect time, not execution time 2011-04-19 16:07:10 +00:00
file_manager.cc Fix build. 2011-05-23 22:18:57 +00:00
file_utils.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
filesystem_paths.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
filesystem.cc Save templates as directories with plugin state, if 2011-12-11 20:38:42 +00:00
fpu.cc explain MXCSR shenanigans in libs/pbd/fpu.cc 2011-12-26 22:32:21 +00:00
gettext.h Upgrade to waf 1.5.4. 2009-04-18 16:15:12 +00:00
i18n.h More tinkering with State<>. Use some StateDiffCommands instead of 2010-02-11 17:08:34 +00:00
id.cc make Stateful::_id private and provide appropriate methods to set it, and use them throughout ardour 2011-10-18 13:18:47 +00:00
libpbd.pc.in rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
libpbd.spec.in rollback to 3428, before the mysterious removal of libs/* at 3431/3432 2008-06-02 21:41:35 +00:00
locale_guard.cc handle deletion of UI objects between the time that a callback is queued with the UI event loop and the execution of the callback (intrusive, big) 2010-03-30 15:18:43 +00:00
malign.cc build fixes for OS X 2010-11-10 23:13:29 +00:00
mountpoint.cc complete the do-not-free-data-from-getmntinfo() fix 2012-01-11 18:14:18 +00:00
openuri.cc make ardour3 build and link on OS X (tiger, at least) 2010-11-13 05:14:48 +00:00
pathscanner.cc remove hard-coded use of '/' in pathscanner code as dir separator (use glib instead) 2011-02-28 16:35:43 +00:00
pool.cc Fix some set-but-not-used variable warnings from gcc 4.6 2011-07-02 17:16:46 +00:00
property_list.cc Modify StatefulDiffCommand undo record to only contain the changes in one direction, as the other direction can be inferred. Breaks session history file compatibility. 2010-08-25 17:31:57 +00:00
pthread_utils.cc stop metering thread as we disconnect a session from audioengine; explicitly drop connections early in ~Route so that we don't still have signals being handled while we destruct; fix up some valgrind warnings 2009-12-31 19:49:22 +00:00
receiver.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
run-tests.sh Fix libpbd tests and add test for url_decode(). 2012-04-01 14:29:26 +00:00
search_path.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
semutils.cc fix linux side of semaphore abstraction 2010-11-16 20:01:01 +00:00
shortpath.cc Patch from agorka to add some includes required for building with the GCC shipped with Ubuntu Karmic. 2009-05-18 00:21:17 +00:00
signals.cc use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters 2009-12-19 20:26:31 +00:00
sndfile_manager.cc Assorted doxygen fixes; no functional changes. 2011-05-23 22:12:45 +00:00
stacktrace.cc Demangle stacktrace names. 2010-10-02 00:06:01 +00:00
stateful_diff_command.cc Fix crossfade undo using the stateful diff system. Fixes #3257. 2010-08-26 01:44:11 +00:00
stateful.cc Clear up confusion with overloads of _frozen and frozen() 2011-12-17 16:37:18 +00:00
strreplace.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
strsplit.cc strsplit(): if first char of a string is the separator, don't push an empty string into the return vector 2009-12-31 23:43:09 +00:00
textreceiver.cc Remove most using declarations from header files. 2009-05-12 17:03:42 +00:00
transmitter.cc *** NEW CODING POLICY *** 2009-02-25 18:26:51 +00:00
undo.cc actually delete the contents of the history list, rather than just empty the list. could break things at session closing. 2011-02-12 20:57:44 +00:00
uuid_boost.cc revert earlier changes to uuid class, but keep boost version in svn for the future 2011-02-08 02:21:15 +00:00
uuid.cc revert earlier changes to uuid class, but keep boost version in svn for the future 2011-02-08 02:21:15 +00:00
whitespace.cc use isspace() and not isgraph() to identify whitespace; remove Glib::ustring version of strip_whitespace_edges() 2010-09-14 16:50:22 +00:00
wscript Fix libpbd tests and add test for url_decode(). 2012-04-01 14:29:26 +00:00
xml++.cc some deep changes to xml++ in which we retain a C-level xmlDocPtr as a member of an XMLTree objects. this allows us to do repeated XPATH searches (as in the midnam parser of libmidi++) without constantly rewriting an entire tree into memory to recreate a new xmlDocPtr with which we can search. Since XMLTree objects don't typically stay around for very long, just when serializing to/from disk, this is not anticipated to have much (if any) impact on memory consumption 2012-03-20 18:01:07 +00:00