mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
make monitor section an optional feature than can be added/removed as needed. this is a big commit, and breakage is possible. it has been moderately tested. this commit also locks the remote control ID of the master bus to 318 and the monitor section (if any) to 319. the numbers are based on MIDI Machine Control limits
git-svn-id: svn://localhost/ardour2/branches/3.0@11256 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4b95a7912a
commit
508c5eb5bd
16 changed files with 409 additions and 218 deletions
|
|
@ -344,8 +344,7 @@ path_expand (string path)
|
|||
if (realpath (path.c_str(), buf)) {
|
||||
return buf;
|
||||
} else {
|
||||
error << string_compose (_("programming error: realpath(%1) failed, errcode %2"), path, errno) << endmsg;
|
||||
return path;
|
||||
return string();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -362,7 +361,10 @@ search_path_expand (string path)
|
|||
split (path, s, ':');
|
||||
|
||||
for (vector<string>::iterator i = s.begin(); i != s.end(); ++i) {
|
||||
n.push_back (path_expand (*i));
|
||||
string exp = path_expand (*i);
|
||||
if (!exp.empty()) {
|
||||
n.push_back (exp);
|
||||
}
|
||||
}
|
||||
|
||||
string r;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue