summaryrefslogtreecommitdiff
path: root/libs/ardour/session_timefx.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-04 00:39:00 +0000
committerDavid Robillard <d@drobilla.net>2007-07-04 00:39:00 +0000
commit2177f008411821e7bce9ca3c306ec64c70b1c58e (patch)
tree79b2f1827163aa40fdde34c5f9b89f7bd1eb3d49 /libs/ardour/session_timefx.cc
parente0f287045eff5b6f0581b741a3005f54d6578737 (diff)
Add AutomationControl::parameter() for terseness.
Future-proof automation track GUI 'extra' XML (<GUI><AutomationChild automation-id="gain"> instead of <GUI><gain> so Parameter.to_string isn't used as an XML node name). Fix automation track controller bar shown/hidden state. Fix automation track initial show bug. git-svn-id: svn://localhost/ardour2/trunk@2103 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_timefx.cc')
-rw-r--r--libs/ardour/session_timefx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_timefx.cc b/libs/ardour/session_timefx.cc
index 4061b2ccd0..aac77a59c7 100644
--- a/libs/ardour/session_timefx.cc
+++ b/libs/ardour/session_timefx.cc
@@ -192,7 +192,7 @@ Session::tempoize_region (TimeStretchRequest& tsr)
} else {
if (tsr.region->name()[len] == 't') {
- c = atoi (tsr.region->name().substr(len+1));
+ c = atoi (tsr.region->name().substr(len+1).c_str());
snprintf (buf, sizeof (buf), "t%03d", ++c);
region_name = tsr.region->name().substr (0, len) + buf;