summaryrefslogtreecommitdiff
path: root/libs/ardour/internal_send.cc
AgeCommit message (Collapse)Author
2015-04-22Initial Gain Coefficient tweaksBen Loftis
1) Disambiguate 1.0 to GAIN_COEFF_UNITY, and 0.0 to GAIN_COEFF_ZERO 2) Add GAIN_COEFF_SMALL which replaces SMALL_SIGNAL (-140dB) 3) GAIN_COEFF_SMALL can used to avoid interpolating towards -inf on a db scale 4) GAIN_COEFF_SMALL is used to detect very small (denormal?) gains and memset to zero
2015-04-07low-pass filter gain-fader.Robin Gareus
fixes various fader zipper noise issues. It voids sample accuate fader automation (the fader-gain is low-pass filtered at 10Hz). Yet all musical purposes this makes a lot more sense than sample accuracy anyway.
2014-09-03release shared route pointer kept by InternalSend when dropping refs.Robin Gareus
fixes "SessionHandleRef exists across session deletion" when using AuxSends
2014-06-23en/disable internal send+returns with tracks en/disable.Robin Gareus
2014-06-11basic integration of delaylines (still un-nused)Robin Gareus
2014-02-07don't add a [shared] panner for the sends to monitoing sectionRobin Gareus
fixes issue with 'stuck' mono panners (when using a stereo monitoring section and auto-connect): the send to monitor section is added after the main panner. At this point the channel-count is different, but the send shared panner() with the main route. Here: mono-panner on track, stereo-panner; and they shared control settings. since stereo-panner's width is 1, the position cannot be changed.
2014-01-22fix bitslot already in use warningRobin Gareus
in e45151b89c64 route.cc was changed to create internal sends directly with role = Delivery::Aux; and not Delivery::Role (0). This change was motivated to initialize the panner for Aux-sends in the Delivery. Role(0) was used to override bitslot numbering during initial construction of the object when the state is loaded from XML after construction. This patch adds an explicit flag for that. (The previous Role(0) approach only worked for Aux-Sends but not Sends, anyway.)
2014-01-13update internal-send port-count when target port-count changesRobin Gareus
2014-01-13ignore additional channels for AFL, PFL:Robin Gareus
If the monitor-section has fewer-channels than the solo-listen point: ignore additional channels.
2013-08-05fix conflicts after merge with masterPaul Davis
2013-08-02rework MIDI [processor|plugin] chainRobin Gareus
* forward midi-data around plugins that have no MIDI-out * allow to insert plugins with no MIDI-input at a point with one MIDI-channel This works because excess ports (both plugin and route) remain unconnected and use scratch-buffers. Tested with LV2, LXVST and LADSPA. (AU plugins with variable in/out retain the old behavior, no bypass) fixes http://tracker.ardour.org/view.php?id=5630
2013-07-24part-way through getting the audioengine changes to compilePaul Davis
2012-06-11Make send automation work (#4734).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12650 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-05-02more fixes/tweaks from the land of the lionPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12150 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24more useful error message when an internal send fails to find its targetPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11328 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-18fix reload of session with new send naming in place, drop "aux-" prefix from ↵Paul Davis
name of aux sends git-svn-id: svn://localhost/ardour2/branches/3.0@11264 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
2011-11-20Fill extra channels if monitor sends have more outputs thanCarl Hetherington
inputs (#4468). git-svn-id: svn://localhost/ardour2/branches/3.0@10708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-28Improve audioengine includes slightly.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@10326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-10-17Discard MIDI when sending to the monitor bus. FixesCarl Hetherington
#4372. git-svn-id: svn://localhost/ardour2/branches/3.0@10212 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-29Move what I'm pretty sure is a misplaced assert; a pannerCarl Hetherington
can copy from more to fewer buffers. git-svn-id: svn://localhost/ardour2/branches/3.0@10027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10fix leftover bug from hacking on internal send panning stuffPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9976 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-08-10add virtual Delivery::pan_outs() so that internal sends correctly configure ↵Paul Davis
their panner for the number of outputs on the target rather than the output of the internal send processor within the route. fixes a crash when adding internal sends git-svn-id: svn://localhost/ardour2/branches/3.0@9975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-18improved fix for #4158 etc, hopefullyPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@9896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-14Move panner bypass state up to the PannerShell so that it is preserved even ↵Carl Hetherington
when new Panners are dropped in (refixes #4185). git-svn-id: svn://localhost/ardour2/branches/3.0@9877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12Correct (I think) previous fix.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-12Set mixbufs count in the case of a panner being used, asCarl Hetherington
happens in read_from when no panner is being used. Should fix #4158. git-svn-id: svn://localhost/ardour2/branches/3.0@9845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-07-10Set up initial gains with init_gain() before (rather than after) potentially ↵Carl Hetherington
restoring gain with Send::set_state (should fix #3546). git-svn-id: svn://localhost/ardour2/branches/3.0@9834 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14monitor send gets access to the (shared) pannable of the track/bus, thus ↵Paul Davis
ensuring that the monitor feed is panned. required a few fixes along the way git-svn-id: svn://localhost/ardour2/branches/3.0@9731 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-06-14fix initialization of gain for Listen internal sends (to monitor bus); ↵Paul Davis
remove pannable object from monitor bus after (re)creation from XML git-svn-id: svn://localhost/ardour2/branches/3.0@9730 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-18Initialise aux send gain to -inf dB (#3990).Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@9368 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20Make InternalReturns collect their sends' data on the return's ::run(), ↵Carl Hetherington
rather than sends merging data with the InternalReturn on their ::run(). This makes internal send/return thread-safe so that N routes can send to 1 whilst they are being run in parallel process threads. git-svn-id: svn://localhost/ardour2/branches/3.0@8904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-01-27merge 3.0-panexp (pan experiments) branch, revisions 8534-8585 into 3.0, ↵Paul Davis
thus ending 3.0-panexp. THIS COMMIT WILL BREAK ALL EXISTING 3.0 SESSIONS IN SOME WAY (possibly not fatally). git-svn-id: svn://localhost/ardour2/branches/3.0@8586 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-08-19Resize internal send target buffers on set_block_size(); fixes #3330.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19forward port automation handling changes from 2.x, upto and including about ↵Paul Davis
rev 6981 (will need full testing in the 3.X context). as on 2.x, this removes real-time visual updates to automation curves during write/touch automation recording git-svn-id: svn://localhost/ardour2/branches/3.0@7653 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-16forward port 2.X changes up to and including rev 6714Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7635 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-24remove XML-based constructors for several types of Processors; less debuggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6790 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-08remove yesterday's mayhem with MainListen and get afl/pfl sorta-kinda workingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-02-19change PropertyChange from a bitfield into a real object, with all the many ↵Paul Davis
widespread changes that causes git-svn-id: svn://localhost/ardour2/branches/3.0@6701 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-22cleanup up cleanup at session destruction; clarify the meaning of 3 signals ↵Paul Davis
(DropReferences & Destroyed in libardour ; CatchDeletion in the GTK UI); clarify ownership of objects (session no longer pays attention to DropReferences for objects that it is considered to own, such as routes, sources, etc); fix up MIDI parsing and a couple of other places by correcting syntax for return of values from a boost::signals2::signal (possible danger elsewhere to be checked) git-svn-id: svn://localhost/ardour2/branches/3.0@6389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-20remove a couple of boost::signals2 trouble spots; fix some --strict compile ↵Paul Davis
time warnings git-svn-id: svn://localhost/ardour2/branches/3.0@6378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-17switch to using boost::signals2 instead of sigc++, at least for libardour. ↵Paul Davis
not finished yet, but compiles, loads sessions, records and can close a session without a crash git-svn-id: svn://localhost/ardour2/branches/3.0@6372 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-12remove using namespace sigc everywhere to ensure clarity over which ↵Paul Davis
bind/mem_fun is being used; make Config::map_parameters take a boost::function rather than a sigc::slot ; continue debugging crash caused by regionviews not tracking their Region's lifetime git-svn-id: svn://localhost/ardour2/branches/3.0@6357 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-01Fix potentially uninitialised variable.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6231 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-11-26Rename internal sends when their send-to bus changes.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@6181 d708f5d6-7413-0410-9779-e7cbd77b26cf