New behavior for Mixing View link

If selection for linking contains linked sources, offer to RE-link to change previous link (instead of only offer to remove the link)
This commit is contained in:
Bruno Herbelin
2024-01-13 12:00:59 +01:00
parent e36bae2ab6
commit 9768d17b9b
3 changed files with 22 additions and 19 deletions

View File

@@ -145,7 +145,7 @@ public:
// get the list of sources in mixing groups
std::list<SourceList> getMixingGroups () const;
// returns true if something can be done to create a mixing group
bool canlink (SourceList sources);
bool hasLink (SourceList sources);
// try to link sources of the given list:
// can either create a new mixing group or extend an existing group
void link (SourceList sources, Group *parent = nullptr);