summaryrefslogtreecommitdiff
path: root/libs/ardour/utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/utils.cc')
-rw-r--r--libs/ardour/utils.cc9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/ardour/utils.cc b/libs/ardour/utils.cc
index e7b7648149..0c98461974 100644
--- a/libs/ardour/utils.cc
+++ b/libs/ardour/utils.cc
@@ -395,12 +395,12 @@ string_to_sync_source (string str)
}
if (str == _("JACK")) {
- return JACK;
+ return Engine;
}
fatal << string_compose (_("programming error: unknown sync source string \"%1\""), str) << endmsg;
/*NOTREACHED*/
- return JACK;
+ return Engine;
}
/** @param sh Return a short version of the string */
@@ -408,7 +408,10 @@ const char*
sync_source_to_string (SyncSource src, bool sh)
{
switch (src) {
- case JACK:
+ case Engine:
+ /* no other backends offer sync for now ... deal with this if we
+ * ever have to.
+ */
return _("JACK");
case MTC: