Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Apr 5, 2023
1 parent 430201e commit e04edef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Folder tracks (parent/child structure) and are currently not supported.
* WARNING: Flattens existings parent/child structures and replaces parent send with ordinary send.
* Manual routing (e.g. grouping) can be done with sends.
* If parent/child structures or use of sends is detected, changes REAPER default solo mode to 'ignore-routing'.
* WARNING: changes REAPER default solo mode to 'ignore-routing'.
* REAPER Master track is used as control room / headphones output.
* Mix track is main / program / PA / stream / tape output. Freely assignable to any hardware output(s).
* Creating separate live mixing projects is recommended.
Expand Down
17 changes: 7 additions & 10 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,9 @@ void Organize()
SetMediaTrackInfo_Value(tr, "B_MAINSEND", 0);
}

if (GetTrackNumSends(tr, 0) > 2) {
hasSends = true;
}
// if (GetTrackNumSends(tr, 0) > 2) {
// hasSends = true;
// }
}

SetMediaTrackInfo_Value(mixbus, "B_SOLO_DEFEAT", 1);
Expand All @@ -237,13 +237,10 @@ void Organize()
"ReaSolotus: Folders not supported. Use sends instead. \n");
}

if (folderFound || hasSends) {
char buf[BUFSIZ];
if (get_config_var_string("soloip", buf, BUFSIZ) &&
std::stoi(buf) != 0) {
SNM_SetIntConfigVar("soloip", 0);
};
}
char buf[BUFSIZ];
if (get_config_var_string("soloip", buf, BUFSIZ) && std::stoi(buf) != 0) {
SNM_SetIntConfigVar("soloip", 0);
};
}

void DoSolo(std::set<MediaTrack*>& queue)
Expand Down

0 comments on commit e04edef

Please sign in to comment.