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:
Paul Davis 2012-01-18 01:30:44 +00:00
parent 4b95a7912a
commit 508c5eb5bd
16 changed files with 409 additions and 218 deletions

View file

@ -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;