summaryrefslogtreecommitdiff
path: root/libs/ardour/graph.cc
AgeCommit message (Collapse)Author
2012-01-22For now, only use the multi-threaded process code if we areCarl Hetherington
using >1 processor for DSP; this involves making the DSP use setting only take effect on a restart of Ardour. git-svn-id: svn://localhost/ardour2/branches/3.0@11302 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-20slightly more efficient implementation of Graph::in_process_thread()Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-17Fix unutterably terrible thinko in previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11254 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-14Trim some lock / unlock cycles on the trigger mutex.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11245 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-28remove get_rt() call from graph code, since JACK takes care of that for us ↵Paul Davis
and all process threads are created using libjack thread API git-svn-id: svn://localhost/ardour2/branches/3.0@10829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-09Alert the user if a connection is made which causesCarl Hetherington
feedback, and preserve the route graph in the state that it was in before the feedback was introduced. The intent being to simplify the code, reduce the number of areas of code which must consider feedback, and fix a few bugs. git-svn-id: svn://localhost/ardour2/branches/3.0@10510 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-08Remove a couple of unnecessary casts.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10496 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05Coding style tinkering.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10464 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05A few more comments.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-11-05A few comments.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-21correctly track monitoring changes in libardour and the GUI; required ↵Paul Davis
removing propagation of session rec-enabled status through process chain and replacing it with call to Session::actively_recording() where necessary (may require a new RT event) git-svn-id: svn://localhost/ardour2/branches/3.0@10265 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-18Remove unused rec_monitors_input variables.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10091 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-16Remove unused parameter.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10090 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-01Fix broken whitespace. I'd apologize for the compile times if it was my ↵David Robillard
fault :D git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-04move some DEBUG::Graph traces to DEBUG::ProcessThreads ; remove ↵Paul Davis
Diskstream::rename_write_sources() which is no longer relevant (sources are not created on disk until needed); fixup calling Diskstream::non_realtime_input_change() when calling Diskstream::set_track() with a track that doesn't yet have any I/O (i.e. typical case) git-svn-id: svn://localhost/ardour2/branches/3.0@9281 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-18fix (?) capture alignment by making sure we use non-public latency ↵Paul Davis
information for playback latency, thus avoiding counting plugin latency twice git-svn-id: svn://localhost/ardour2/branches/3.0@9168 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-07fix all manner of wrongness with port buffer offsetsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9098 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-22reset _execution_tokens to 0 in Graph::drop_threads()Torben Hohn
this was causing false thread wakeups. git-svn-id: svn://localhost/ardour2/branches/3.0@8921 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09split out ARDOUR::how_many_dsp_threads() ; fix test for whether to use use ↵Paul Davis
route_graph or just process routes in-thread git-svn-id: svn://localhost/ardour2/branches/3.0@8793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-09fix num DSP threads computation (TODO: move into a utility function for ↵Paul Davis
Sakari's graph too) git-svn-id: svn://localhost/ardour2/branches/3.0@8791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-07allow dynamic process thread count resetsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8738 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19Stop thought-to-be-safe alloc in RT thread from triggering the checker.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8549 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-19Configure option to abort when malloc is called in the process thread.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8548 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-10Somewhat hacky fix to stop the graph code allocating in the RT thread.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-03Remove all use of nframes_t.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-19Fix typo causing CPU burn.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@8057 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-16handle OS X's lack of unnamed semaphores, phase 1Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8049 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10fix botched fixPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@8007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-11-10fix dubious conflation of int and pthread_tPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7998 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28Fix hang on session going away when there is nothing to process. Fixes #3284.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7316 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24use condvar and exception-proof mutex for chain swaps in graphPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7299 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24clear activation_sets component of Graph, thus restoring full Route deletionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7298 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24fix math bug with numthreads computationPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7297 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-24use JACK thread creation functions to create process-graph threads; provide ↵Paul Davis
GUI control over number of threads-relative-to-number-of-CPUS git-svn-id: svn://localhost/ardour2/branches/3.0@7296 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-21Remove unused variable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7283 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-09basically, fix all kinds of odds and ends with MIDI playback, including ↵Paul Davis
missed notes and applying gain git-svn-id: svn://localhost/ardour2/branches/3.0@7247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04more style-guidificationPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7233 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04more style-guidification, plus do not run process threads RT if JACK is not RTPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7232 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-04style-guide-ificationPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7230 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03add DEBUG::ProcessThreads as a debug tag for parallelization (probably to be ↵Paul Davis
renamed) git-svn-id: svn://localhost/ardour2/branches/3.0@7229 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-03add missing graph.cc and friends :STorben Hohn
git-svn-id: svn://localhost/ardour2/branches/3.0@7225 d708f5d6-7413-0410-9779-e7cbd77b26cf