mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 10:49:59 +01:00
Changed Group ALL sources action to Group ACTIVE sources
Manage mixing groups and clones on the way. This makes the action more flexible for the user, allowing to group only a selection.
This commit is contained in:
@@ -45,6 +45,17 @@ SourceList playable_only (const SourceList &list)
|
||||
return pl;
|
||||
}
|
||||
|
||||
bool notactive (const Source *s) { return !s->active(); }
|
||||
|
||||
SourceList active_only (const SourceList &list)
|
||||
{
|
||||
SourceList pl = list;
|
||||
|
||||
pl.remove_if(notactive);
|
||||
|
||||
return pl;
|
||||
}
|
||||
|
||||
SourceList depth_sorted(const SourceList &list)
|
||||
{
|
||||
SourceList sl = list;
|
||||
|
||||
Reference in New Issue
Block a user