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
0fbda6e5bc
implement mixer_snapshot's new_snapshot and new_snapshot_from_session methods, and begin work on right click
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
122f19e6b0
Better vbox handling for mixer_snapshots_list
2020-03-23 13:52:24 -05:00
Nikolaus Gullotta
f2ee9d9937
add buttons to mixer_snapshot_list window, crude implementation for now
2020-03-23 13:52:23 -05:00
Nikolaus Gullotta
838750727b
mixer_snapshots display now works off the mixer_snapshot_manager
2020-03-23 13:52:23 -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
Ben Loftis
5ed5e698cd
Remove rogue comment
2020-03-23 13:51:48 -05:00
Ben Loftis
5142e0cc3d
Rough-in the Mixer Snapshot List
...
TODO:
* Create a Route Template Manager in libardour, to populate the lists
* Implement right-click operations to rename and remove items in list
* Add a button to create new snapshot, or Import a snapshot from other session
* Probably: turn the mixer-list into a set of tabs, like the editor list
2020-03-23 13:51:48 -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
6239828e57
modify mixer_snapshot_dialog to reflect new snasphot changes... this is purely for testing because we will eventually abandon this mode of creating new templates.
2020-03-23 13:50:36 -05:00
Nikolaus Gullotta
d0e7768e30
snapshots now use the .template suffix instead of .xml
2020-03-23 13:50:36 -05:00
Ben Loftis
f31e21e047
Rough-in new menu items and functions for track templates.
2020-03-23 13:50:36 -05:00
Ben Loftis
c3925a222f
Move save-track-template out of ROUTE_UI, since it will be effective on multiple routes.
2020-03-23 13:50:13 -05:00
Nikolaus Gullotta
29b8aad981
mv apparantly modifies creation time of a file, make this modified time only to preserve actual creation date
2020-03-23 13:49:43 -05:00
Nikolaus Gullotta
0dbb0b5ee3
some cosmetic changes to the dialog, make it shorter, make toggle columns check boxes and expandable
2020-03-23 13:49:43 -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
Robin Gareus
ebae835434
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
7f2784a01f
we don't need an indicator for special routes since we aren't really interested in them anymore
2020-03-23 13:49:42 -05:00
Nikolaus Gullotta
c0403348d9
if the dialog closes, don't add it
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
4a97792404
skip special routes for now and fix crash where bailing out of the dialog early would cause a ptr to stay around
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
fa4fcd2e60
remove sanitize node function, and clear substitutions vector before recalling. Fixes issue with dangling ports
2020-03-23 13:49:40 -05:00
Nikolaus Gullotta
e42f5322b8
fix dialog bug where right click -> rename could be longer than 48 characters and try some size changes
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
4f53824e84
fixing some commentary
2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
d5d96134d2
remove remnant of attempted bugfix
2020-03-23 13:49:39 -05:00
Nikolaus Gullotta
5a04577488
add timestamp to location and date sorting from timestamps to export_timespan_selector
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
7c6dbf3f6b
begin work on substitution dialog
2020-03-23 13:49:39 -05:00