projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
auditioner always runs at normal speed, independent of transport speed
[ardour.git]
/
libs
/
ardour
/
globals.cc
diff --git
a/libs/ardour/globals.cc
b/libs/ardour/globals.cc
index 45ac987eb13de5773b1e72806344f51738534826..00d448985f555fadb6cb1ee25930f9bc7a738b4c 100644
(file)
--- a/
libs/ardour/globals.cc
+++ b/
libs/ardour/globals.cc
@@
-84,6
+84,8
@@
#include "midi++/port.h"
#include "midi++/mmc.h"
#include "midi++/port.h"
#include "midi++/mmc.h"
+#include "LuaBridge/LuaBridge.h"
+
#include "ardour/analyser.h"
#include "ardour/audio_library.h"
#include "ardour/audio_backend.h"
#include "ardour/analyser.h"
#include "ardour/audio_library.h"
#include "ardour/audio_backend.h"
@@
-111,8
+113,9
@@
#include "ardour/runtime_functions.h"
#include "ardour/session_event.h"
#include "ardour/source_factory.h"
#include "ardour/runtime_functions.h"
#include "ardour/session_event.h"
#include "ardour/source_factory.h"
+#ifdef LV2_SUPPORT
#include "ardour/uri_map.h"
#include "ardour/uri_map.h"
-
+#endif
#include "audiographer/routines.h"
#if defined (__APPLE__)
#include "audiographer/routines.h"
#if defined (__APPLE__)
@@
-284,7
+287,7
@@
lotsa_files_please ()
if (newmax > 0) {
info << string_compose (_("Your system is configured to limit %1 to only %2 open files"), PROGRAM_NAME, newmax) << endmsg;
} else {
if (newmax > 0) {
info << string_compose (_("Your system is configured to limit %1 to only %2 open files"), PROGRAM_NAME, newmax) << endmsg;
} else {
- error << string_compose (_("Could not set system open files limit. Current limit is %1 open files"), _getmaxstdio) << endmsg;
+ error << string_compose (_("Could not set system open files limit. Current limit is %1 open files"), _getmaxstdio
()
) << endmsg;
}
#endif
}
}
#endif
}
@@
-422,6
+425,12
@@
ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
return true;
}
return true;
}
+#ifndef NDEBUG
+ if (getenv("LUA_METATABLES")) {
+ luabridge::Security::setHideMetatables (false);
+ }
+#endif
+
if (!PBD::init()) return false;
#ifdef ENABLE_NLS
if (!PBD::init()) return false;
#ifdef ENABLE_NLS
@@
-552,9
+561,16
@@
ARDOUR::init (bool use_windows_vst, bool try_optimization, const char* localedir
reserved_io_names[_("Monitor")] = true;
reserved_io_names[_("Master")] = true;
reserved_io_names[_("Monitor")] = true;
reserved_io_names[_("Master")] = true;
+ reserved_io_names["auditioner"] = true; // auditioner.cc Track (s, "auditioner",...)
+
+ /* pure I/O */
+ reserved_io_names[X_("Click")] = false; // session.cc ClickIO (*this, X_("Click")
reserved_io_names[_("Control")] = false;
reserved_io_names[_("Control")] = false;
- reserved_io_names[_("Click")] = false;
reserved_io_names[_("Mackie")] = false;
reserved_io_names[_("Mackie")] = false;
+ reserved_io_names[_("FaderPort Recv")] = false;
+ reserved_io_names[_("FaderPort Send")] = false;
+ reserved_io_names[_("FaderPort8 Recv")] = false;
+ reserved_io_names[_("FaderPort8 Send")] = false;
libardour_initialized = true;
libardour_initialized = true;
@@
-581,13
+597,13
@@
ARDOUR::cleanup ()
return;
}
return;
}
+ delete &ControlProtocolManager::instance();
ARDOUR::AudioEngine::destroy ();
delete Library;
#ifdef HAVE_LRDF
lrdf_cleanup ();
#endif
ARDOUR::AudioEngine::destroy ();
delete Library;
#ifdef HAVE_LRDF
lrdf_cleanup ();
#endif
- delete &ControlProtocolManager::instance();
#ifdef WINDOWS_VST_SUPPORT
fst_exit ();
#endif
#ifdef WINDOWS_VST_SUPPORT
fst_exit ();
#endif
@@
-721,6
+737,7
@@
ARDOUR::set_translations_enabled (bool yn)
(void) ::write (fd, &c, 1);
(void) ::close (fd);
(void) ::write (fd, &c, 1);
(void) ::close (fd);
+ Config->ParameterChanged ("enable-translation");
return true;
}
return true;
}