Commit graph

15775 commits

Author SHA1 Message Date
Nikolaus Gullotta
4a085b91f5
add PromotedSnapshot signal to manager, and subscribe to this this in the global MixerSnapshotList 2020-03-23 13:53:37 -05:00
Nikolaus Gullotta
132e895b18
fix GPL info 2020-03-23 13:53:30 -05:00
Nikolaus Gullotta
ff02990080
get substitutions into a working state 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
f33a841f54
prepare for signal handling and remove rows that have the same name of rows you're renaming (also have the manager manage culling of pointers) 2020-03-23 13:53:22 -05:00
Nikolaus Gullotta
e0ce2c00e5
SnapshotList belongs in ARDOUR namespace 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
59d8397c6b
general cleanup of code 2020-03-23 13:52:26 -05:00
Nikolaus Gullotta
42fc3a2703
MixerSnapshotManager::create_snapshot needs to correctly set the path when it creates the snapshot 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4a658632b0
promoting twice may overwrite a current set member adn thus needs to be erased and re-inserted 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
4342159c30
implement rename, remove and promote right-click functions for local snapshots 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
e64b1368e0
optimize create_snapshot to delete the item from the set and insert the new one rather than tossing out the whole set and starting from scratch 2020-03-23 13:52:25 -05:00
Nikolaus Gullotta
86ef6a96dd
if the RouteList passed to create_snapshot is empty it will use the method (whcih I will eventualyl collapse into one method) that captures all the tracks in the session.
snapshots now create normally again
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
5a3017153e
add ensure snapshot dir to SnapshotManager class... creating new snapshots with create_snapshot is broken as of this commit, will fix later 2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
86bc853788
MixerSnapshots now have a path (the source from which it derived) and MixerSnapshotManager will correctly set this 2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
51632104fa
creat snapshot can take a routelist OR a path 2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
a432539122
mixer_snapshot_manager now collects local templates as well with sort-of hacky work around 2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
cbb468df39
fix some header file verbosity 2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
9d817bf762
typo and set label to basename 2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
16a6116d0a
begin work on mixer_snapshot_manager to handle creation, discovery, and deletion of snapshots 2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
4ac66cd534
use class suffix as write information 2020-03-23 13:50:52 -05:00
Nikolaus Gullotta
f701be65a2
find_route_templates will now correctly identify snapshot file names 2020-03-23 13:50:52 -05:00
Nikolaus Gullotta
d0e7768e30
snapshots now use the .template suffix instead of .xml 2020-03-23 13:50:36 -05:00
Nikolaus Gullotta
942b6e6afd
Fix crash: new_route_from_template can return an empty RouteList if contruction failed 2020-03-23 13:49:43 -05:00
Robin Gareus
da5081c059
NO-OP: remove trailing whitespace 2020-03-23 13:49:43 -05:00
Nikolaus Gullotta
c10394873f
midi routes have different playlists 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
a1965214d1
re-enable group settings according to it's state. for some reason, set_state doesn't work on this. Probably better to do it like this anyways. 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
be6249229e
we need to copy the top level playlist with an easy work around... alternate playlists will be harder 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
0016361e19
mixer snapshots can now be loaded form session and route templates 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
26344b324e
push back group state recall until after routes, so that routes who are the sole member of a group can resurrect their group for later 2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
be5d9ace1f
load_from_session now notifies routes that they have a group and it loves them 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
0868e65cb1
supposed to add group name as property, not route name, and experiment with different ways to add groups and routes to groups 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
82651ab372
re-add group setting and fix a function name error 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
99381e75f2
no-op: whitespace, remove unused deconstructor and redundant checks, rename a function... 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
f069e2f27d
no-op: clean use namespace PBD 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
a6f769d1dd
skip special routes for now until a proper setting mechanism is in place 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
0844140c90
recall now correctly restores order, and change a few variables around 2020-03-23 13:49:41 -05:00
Nikolaus Gullotta
92d81f5f54
re-add sanitize_node function to mixer_snapshot.h and add check + removal for plugins recall flag 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
edfcd57590
oops, that's not a pointer 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
f91fb4defa
get rid of sanitize function and use new_route_from_template instead of set_state 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
3b85808c49
change RecallFlags enums to make way for new functionality 2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
df92250525
do not honor aux send data in recall 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
9f068afe02
initial dirty work on a state substitution dialog - lots of cleanup and imporvement needed 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
0df52eecf2
add access to mixer_snapshot's session 2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
42fe3f7c6e
split refill into refill_display which may speed things up slightly and add some small optimizations 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
645e53d796
replace gross in array with vector instead 2020-03-23 13:49:38 -05:00
Nikolaus Gullotta
40e5ad4e72
sanitize node is smarter about just removing 'important' nodes due to conflicts with mixbus's version of route.cc - now we try to simply remove the parts that overwrite them 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
2d77e99d29
add checks for MIXBUS for certain features, and reconcile that with the GUI parts as well 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
0f8702478e
add flag checks to sanitize_node 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
9e0030a900
NO-OP: rename functions to better reflect what they do 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
268d55a6ed
flags should start out all checked 2020-03-23 13:49:37 -05:00
Nikolaus Gullotta
574de9fa55
allow flags to be setable from the MixerSnapshotDialog 2020-03-23 13:49:37 -05:00