Commit graph

27 commits

Author SHA1 Message Date
Robin Gareus
a22f918d9d
Update libardour GPL boilerplate and (C) from git log 2019-08-03 15:53:16 +02:00
Robin Gareus
9a8464ff40
Add a signal to indicate VCA creation
As opposed to VCAAdded this is not emitted when re-loading a session
and only emitted when a user creates a new VCA.
2019-03-01 18:56:56 +01:00
Robin Gareus
c656aaab3c VCA API-change: return created VCAs (handy for Lua scripts) 2018-03-15 20:25:27 +01:00
Robin Gareus
be6abce398 Add Lua binding to un/assign VCAs 2017-08-18 22:00:24 +02:00
Robin Gareus
d18a43422c Emit SelectionChange when VCA is removed
chicken/egg:
Stripable d'tor which calls remove_stripable_by_id() will only be called
when the Stripable is destroyed. But as long as the GUI selection holds a
shared-ptr reference to the Stripable, it won't be destroyed.
2017-08-06 22:17:05 +02:00
Robin Gareus
591d75f1d2 Fix stripable order for new strips & master-order 2017-06-17 04:37:05 +02:00
Tim Mayberry
aede5c85d5 Use PBD::to_string from pbd/string_convert.h in ARDOUR::VCAManager
The numeric formatting is equivalent to iostreams when global C++ locale is set
to "C" without the need for a LocaleGuard.

I'm not sure this would have been an issue as the number of VCA's may never get
high enough for digit grouping of the locale to affect numeric output, but now
it is not a possibility.
2017-04-19 09:37:00 +10:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis
965def3caf signed VCA numbers 2016-07-08 11:46:01 -04:00
Paul Davis
3b58010c8c mark session dirty on creation/deletion of a VCA 2016-06-02 14:46:35 -04:00
Paul Davis
d98e47cf54 remove debug output 2016-05-31 15:30:44 -04:00
Paul Davis
dc3ebc8eec use (possibly null) macros to mark VCAs for boost shared ptr debugging 2016-05-31 15:30:44 -04:00
Paul Davis
0ab10bf8e3 API and implementation tweaks for destroying VCAs 2016-05-31 15:30:42 -04:00
Paul Davis
1e9b2abe73 save and restore vca assignments 2016-05-31 15:30:41 -04:00
Paul Davis
be4e898996 improve cleanup of VCA related objects 2016-05-31 15:30:41 -04:00
Paul Davis
a89b3f5687 clear all solo state should affect VCAs too 2016-05-31 15:30:41 -04:00
Paul Davis
1f6800d421 redesign Route and VCA objects to inherit from ARDOUR::Stripable 2016-05-31 15:30:39 -04:00
Paul Davis
00b7385e4c correctly restore VCA-VCA slave/master relationships at session load time 2016-05-31 15:30:39 -04:00
Paul Davis
aa80321976 fix deadlock caused by VCA=>VCA slaving and set_state() 2016-05-31 15:30:39 -04:00
Paul Davis
dd31ef2d1b fix ambiguity in VCA constructors 2016-05-31 15:30:39 -04:00
Paul Davis
35172bb369 change API for GainControl, VCA and VCAManager
This allows sane state save/restore
2016-05-31 15:30:39 -04:00
Paul Davis
f5df3c291e fix VCA name/number 2016-05-31 15:30:38 -04:00
Paul Davis
4d14ae4e23 mostly restore VCA state on session loading.
This does not restore VCA assignments
2016-05-31 15:30:38 -04:00
Paul Davis
bfd0ba7bf3 add a bit of state to VCAManager 2016-05-31 15:30:38 -04:00
Paul Davis
f44cac5cc6 expand and improve VCA API 2016-05-31 15:30:38 -04:00
Paul Davis
99d251de7d first pass at making the GUI for a VCA visible 2016-05-31 15:30:38 -04:00
Paul Davis
ab9bb49f39 initial implementation of a VCA Manager object 2016-05-31 15:30:38 -04:00