summaryrefslogtreecommitdiff
path: root/libs/ardour/audioengine.cc
AgeCommit message (Collapse)Author
2012-10-25fix some issues with previous commit that were not properly tested because ↵Paul Davis
HAVE_LTC was undefined in my test build git-svn-id: svn://localhost/ardour2/branches/3.0@13342 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-25move ownership of LTC I/O ports to Session, and manage as IO objectsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13341 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-21add LTC generatorRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-21LTC Slave cleanupRobin Gareus
initialize audioengine's ltc_port - if HAVE_LTC is not set trying to connect it would segfault. LTC frameno is < 40 by (two bit frame-ten's) git-svn-id: svn://localhost/ardour2/branches/3.0@13314 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-20LTC slave rewrite #2Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13313 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-15create and manage a new config parameter that defines where LTC originates ↵Paul Davis
(still some tweaks to be done here and there) git-svn-id: svn://localhost/ardour2/branches/3.0@13280 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-12skeleton framework for LTC-slaveRobin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13256 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-25convert from Glib:: to Glib::Threads for all thread-related APIPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21smooth 0.5 second fade out during quit, plus MIDI panic to turn everything ↵Paul Davis
off (someone will want an opton for that, no doubt) git-svn-id: svn://localhost/ardour2/branches/3.0@12814 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-21a putatively better approach to cleaning up ports at session closingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20when a session goes away, deliver silence to all current ports to prevent a ↵Paul Davis
horrible screech during cleanup/destruction git-svn-id: svn://localhost/ardour2/branches/3.0@12806 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-20Very minor tidy-up.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-24add support for IP MIDI (multicast MIDI over IP UDP sockets) to ardour and ↵Paul Davis
use it if requested inside MCP code. required renaming the pre-existing MIDI::Port as MIDI:JackMIDIPort - MIDI::Port becomes the base type for both JackMIDIPort and IPMIDIPort git-svn-id: svn://localhost/ardour2/branches/3.0@12069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-23move MIDI::Manager::cycle_{start,end}() calls from Session into AudioEngine ↵Paul Davis
so that they will continue even if the session has been disconnected from the session git-svn-id: svn://localhost/ardour2/branches/3.0@12066 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-27fix typo in jack-out-of-ports messagePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-06attempt to stop sending MMC/MTC while exporting or freewheeling for any reasonPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-02add virtual method is_instrument() to PluginInfo (already existed for ↵Paul Davis
AUPluginInfo) and use to determine if plugin is an instrument for the purposes of AddRouteDialog, since the rules are plugin-type specific git-svn-id: svn://localhost/ardour2/branches/3.0@11426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27change audioengine's port container to a std::map to provide faster results ↵Paul Davis
from get_port_by_name() git-svn-id: svn://localhost/ardour2/branches/3.0@11360 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-14Remove thought-to-be-unnecessary setup of Delivery::_no_outs_cuz_we_no_monitorCarl Hetherington
at the start of each cycle; it is set up at the start of Route::process_output_buffers. git-svn-id: svn://localhost/ardour2/branches/3.0@11247 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-14Add some debug code to time things in the processCarl Hetherington
thread(s). git-svn-id: svn://localhost/ardour2/branches/3.0@11246 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10Fix previous commit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11225 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10Remove unused _process_callback method.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11223 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27Remove some wrongly commited stuff. Sorry\!Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-27Add configure option to raise a FP exception when a denormalCarl Hetherington
is detected. git-svn-id: svn://localhost/ardour2/branches/3.0@11086 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-23Match request in function names to the eventual call to ↵Carl Hetherington
jack_port_request_monitor. git-svn-id: svn://localhost/ardour2/branches/3.0@11063 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-23Do some renaming in the ARDOUR::Port class tree.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11062 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-15Add basic test of playlist layering.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-08Remove unused buffers and associated support code fromCarl Hetherington
InternalReturn. git-svn-id: svn://localhost/ardour2/branches/3.0@10942 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28Restore ardour_jack_error.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28Use shared_ptr for Port in the AudioEngine; improves thread-safety of the ↵Carl Hetherington
audio engine's port list as a writer cannot destroy a port in one thread while the port list is being iterated in another. git-svn-id: svn://localhost/ardour2/branches/3.0@10327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28Remove unused method.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10325 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19debugging with thorwil: don't redirect JACK msgs via ardour stuffPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10241 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-19debugging with thorwilPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10240 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28more jack include fixesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10157 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-28header file fixup for weak jack linkage, forward ported from 2.XPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10156 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-26Update Mackie surface state when something is connected to its output port ↵Carl Hetherington
(#3887). git-svn-id: svn://localhost/ardour2/branches/3.0@10135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-21fixes from 2.X for latency/capture alignment stuff: don't reverse route ↵Paul Davis
list, update latency and capture offsets at transport stop; remove some debugging output git-svn-id: svn://localhost/ardour2/branches/3.0@10110 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-09-20(native) Linux VST support from LinuxDSPPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@10101 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-22move basic parameter initialization out of AudioEngine into global ↵Paul Davis
ARDOUR::init() git-svn-id: svn://localhost/ardour2/branches/3.0@9911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-19cleanup confused mess related to jack_port_type_get_buffer_size()Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9747 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-05-29clarify some confusion about how "raw" port buffer sizes are definedPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19remove debugging output from audioengine/port codePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9383 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-04-19crude but apparently working fix for issues with JACK port deletion at ↵Paul Davis
session shutdown git-svn-id: svn://localhost/ardour2/branches/3.0@9382 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-21avoid untested use of 2 jack weak symbolsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9175 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-15fix all manner of things relating to io connections, setting capture ↵Paul Davis
alignment, and so on. still needs more tests of actual precise placement of newly recorded material git-svn-id: svn://localhost/ardour2/branches/3.0@9155 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-11sorta-kinda working latency compensation, latency reporting and capture ↵Paul Davis
alignment ... working except that we report the wrong information to JACK and i've noticed a couple of odd circumstances where turning on a latent plugin caused punch recording to fail git-svn-id: svn://localhost/ardour2/branches/3.0@9121 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-03-02(a) require JACK 0.120.1 to compile (but NOT to run) (b) fix up illegal ↵Paul Davis
retrieval of jack port buffer sizes before jack_activate() git-svn-id: svn://localhost/ardour2/branches/3.0@9024 d708f5d6-7413-0410-9779-e7cbd77b26cf