}
#ifndef NDEBUG
- const bool calc_avg_load = NULL != getenv("AVGLOAD");
+ const bool calc_avg_load = NULL != getenv("ARDOUR_AVG_DSP_LOAD");
#else
const bool calc_avg_load = false;
#endif
}
#ifndef NDEBUG
- if (getenv("LUA_METATABLES")) {
+ if (getenv("ARDOUR_LUA_METATABLES")) {
luabridge::Security::setHideMetatables (false);
}
#endif
_midi_device_thread_active = listen_for_midi_device_changes ();
-#if 1
- if (NULL != getenv ("ALSAEXT")) {
+#if 1 // TODO: we need a GUI (and API) for this
+ if (NULL != getenv ("ARDOUR_ALSA_EXT")) {
boost::char_separator<char> sep (";");
- boost::tokenizer<boost::char_separator<char> > devs (std::string(getenv ("ALSAEXT")), sep);
+ boost::tokenizer<boost::char_separator<char> > devs (std::string(getenv ("ARDOUR_ALSA_EXT")), sep);
BOOST_FOREACH (const std::string& tmp, devs) {
std::string dev (tmp);
std::string::size_type n = dev.find ('@');
pthread_mutex_init (&_discovery_lock, 0);
#ifndef NDEBUG
- const char *p = getenv ("COREMIDIDEBUG");
+ const char *p = getenv ("ARDOUR_COREMIDI_DEBUG");
if (p && *p) _debug_mode = atoi (p);
#endif
}
uint32_t
hardware_concurrency()
{
- if (getenv("CONCURRENCY")) {
- int c = atoi (getenv("CONCURRENCY"));
+ if (getenv("ARDOUR_CONCURRENCY")) {
+ int c = atoi (getenv("ARDOUR_CONCURRENCY"));
if (c > 0) {
return c;
}
last_peak_rect.x = 0;
last_peak_rect.y = 0;
- no_rgba_overlay = ! Glib::getenv("NO_METER_SHADE").empty();
+ no_rgba_overlay = ! Glib::getenv("ARDOUR_NO_METER_SHADE").empty();
_clr[0] = clr0;
_clr[1] = clr1;