projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccdd99a
)
prevent routes from being renamed to match some other send/insert name, as well as...
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 Nov 2009 18:04:34 +0000
(18:04 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 10 Nov 2009 18:04:34 +0000
(18:04 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6053
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
libs/ardour/route.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/route.cc
b/libs/ardour/route.cc
index 4e19b9c23eb36f2ed564da6108d52696b3f5aceb..54bb140c9895af012ebd9b8090dded2e6aad1ba1 100644
(file)
--- a/
libs/ardour/route.cc
+++ b/
libs/ardour/route.cc
@@
-203,16
+203,14
@@
string
Route::ensure_track_or_route_name(string name, Session &session)
{
string newname = name;
-
- while (session.route_by_name (newname)!=NULL)
- {
+
+ while (!session.io_name_is_legal (newname)) {
newname = bump_name_once (newname);
}
return newname;
}
-
void
Route::inc_gain (gain_t fraction, void *src)
{