Commit graph

10328 commits

Author SHA1 Message Date
Robin Gareus
f80c0faa24 some new lua-bindings and session-lua (creating sessions) 2016-04-24 14:43:18 +02:00
Robin Gareus
667a4aafb5 fix mismatched delete/delete[] 2016-04-24 14:43:18 +02:00
Robin Gareus
f6a621346c some notes on mem-leaks... 2016-04-24 14:43:18 +02:00
Robin Gareus
e3536fbefe hand over automationlist undo state ownership (mem-leak) 2016-04-24 14:43:18 +02:00
Robin Gareus
e3607a4c8b plug some memory leaks in libardour 2016-04-24 14:43:18 +02:00
Robin Gareus
4fe7d1ea08 further tweaks to session close 2016-04-24 02:53:01 +02:00
Robin Gareus
f317451609 lua bindings for track/bus and session creation 2016-04-24 00:25:34 +02:00
Robin Gareus
f8936ebcb1 Disconnect Signals before dropping ports
significantly speeds up session close
2016-04-24 00:24:43 +02:00
Robin Gareus
2a7a64a873 delegate port-connections to low priority thread.
This prevents a deadlock with (some versions) jack:
 * add new instrument track with instrument
 * configure processors (takes processor lock)
 * add I/Os (delivery) -> create ports
 * auto-connect ports
 * jack port-connect -> jack graph re-order
 * Ardour graph-re-order
 * needs processor lock (to check sends)
2016-04-23 22:11:48 +02:00
Robin Gareus
e4b2b6477f fix typo in config variable 2016-04-23 00:01:28 +02:00
Robin Gareus
f719dcbd43 fix send-id "0" when loading session
Send::set_state() unsets the current send-id before setting
the new one, but by default _bitset defaults to zero.
This may lead to unset an existing send "0"
2016-04-22 23:36:41 +02:00
Robin Gareus
5c41043a2d fix single-bus AU rendering & related updates 2016-04-22 22:04:48 +02:00
Robin Gareus
00f48c3d63 invalidate AU cache on re-scan 2016-04-22 21:10:39 +02:00
Robin Gareus
90babfaca3 use coreaudio wrapper 2016-04-22 20:50:06 +02:00
Robin Gareus
7e8fda8431 Single instance AUs only, use variable i/o 2016-04-22 19:35:38 +02:00
Robin Gareus
73aab79d59 AU multibus support 2016-04-22 18:48:20 +02:00
Robin Gareus
8a1aeccc82 fix AU cache clear 2016-04-22 18:48:20 +02:00
Robin Gareus
2dc6c1c74b add API to load plugin presets for all instances 2016-04-22 14:24:45 +02:00
Robin Gareus
238cec8549 and now with proper closing bracket. 2016-04-21 01:04:55 +02:00
Robin Gareus
fca2e76db2 take MB dithering into account when stripping silence on export 2016-04-21 01:02:18 +02:00
Robin Gareus
fc4dd032a7 backend part for MB send-panners (ignore existing state, force disable) 2016-04-20 21:44:28 +02:00
Robin Gareus
49d044bf04 fix AU sidechain connection 2016-04-20 18:06:51 +02:00
Robin Gareus
3e659bb657 include sidechain when delegating I/O configuration 2016-04-20 17:24:50 +02:00
Robin Gareus
65fada3b0a Mixbus: auto-connect monitor-section
Mixbus does not expose the "auto_connect_standard_busses" preference
and forces it to false.
2016-04-20 16:17:22 +02:00
Robin Gareus
ec44499666 amend 386f244f - don't reinitialize I/O map
load ChanCount to compare if I/O maps have changed.
2016-04-20 15:14:15 +02:00
Robin Gareus
386f244f1e Reset I/O map when copying plugin and ChanCount changes 2016-04-20 11:55:02 +02:00
Len Ovens
622ba89dd9 OSC: removed unused _namespace_root variable. 2016-04-19 16:13:18 -07:00
Robin Gareus
d32333f4ef fix stuck solo w/sidechain (when using port, not send, connections) 2016-04-19 22:15:57 +02:00
Robin Gareus
24282065aa clear [midi] plugin audio output buffers before running plugin.
some samplers don't zero the output buffers if they're not configured
or no samples are loaded.
2016-04-19 20:39:40 +02:00
Robin Gareus
3715602ea7 Revert/amend "fix a const-cast issue"
This reverts commit c9d55cb172.
because it it's "const" one cannot set it from lua.
2016-04-19 19:07:09 +02:00
Robin Gareus
c69a9d7a06 some plugin-insert debugging
* report inplace
* debug-dump reason(s) why i/o maps are reset
2016-04-19 19:03:16 +02:00
Paul Davis
c9d55cb172 fix a const-cast issue 2016-04-19 12:58:54 -04:00
Robin Gareus
00169f1da1 hidden config option to replace TRY_AUTOSTART_ENGINE environment var.
It's really only used by the GUI, but engine states are part of
ARDOUR::Config::extra_xml  so this is at least similarly inconsistent.
2016-04-19 16:43:06 +02:00
Robin Gareus
00b703ebe8 default strict-i/o preference to enable
This makes a lot of sense for all midi-instruments and the
vast majority of mono+stereo workflows
2016-04-19 16:40:17 +02:00
Robin Gareus
170fca53ee Mixbus specific Pin Mapping tweaks 2016-04-19 13:54:07 +02:00
Robin Gareus
2729f59aba NO-OP, whitespace and comments 2016-04-19 13:21:54 +02:00
Robin Gareus
428c82b1bc fix plugin silence runs (e.g. during audition)
* use max of in+out buffers
* special case Mixbus
* clear delay-lines
2016-04-19 00:57:56 +02:00
Robin Gareus
26532364bb fix possible crash at session close.
In the wake of 81faa3b420. Disconnect Signal from process
callback, may notify an IO that just reached a zero shared ptr refcount
due to route-deletion (GUI thread) resulting in a double free.
2016-04-18 21:55:50 +02:00
Robin Gareus
008eda2858 add some assert for reloading saved plugin pin connections 2016-04-18 17:22:55 +02:00
Robin Gareus
b2149de37b add notification if Engine Rate changes and mismatches session's SR 2016-04-18 15:16:27 +02:00
Robin Gareus
888614b714 never ever change sample-rate saved with the session after creation. 2016-04-18 14:50:09 +02:00
Robin Gareus
9840a11537 implement metadata-set for remaining backends 2016-04-18 00:35:51 +02:00
Robin Gareus
fa73112f08 set sidechain port pretty name 2016-04-17 21:50:20 +02:00
Robin Gareus
cb09b0b34e add IOProcessors pretty name support 2016-04-17 21:50:13 +02:00
Robin Gareus
81faa3b420 notify IO about port disconnection due to port removal
[Jack] Ports can be deleted without being disconnected first.
the IO Object does not catch that condition.
2016-04-17 18:36:40 +02:00
Robin Gareus
10bffda810 add API to set pretty names for ardour ports 2016-04-17 18:34:17 +02:00
Robin Gareus
10140a8e68 implement pretty-name set-property for ALSA and Dummy 2016-04-17 18:22:21 +02:00
Robin Gareus
1f43878050 add portengine set-property API (follows jack_set_property) 2016-04-17 18:18:16 +02:00
Robin Gareus
dc1102844a disconnect SideChain on delete, trigger Send self-destruct 2016-04-17 17:35:30 +02:00
Robin Gareus
6e94b1fb9f copy plugin state to all instances when instantiating. 2016-04-17 16:09:25 +02:00