diff options
author | Robin Gareus <robin@gareus.org> | 2019-07-26 16:44:29 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-07-26 16:44:29 +0200 |
commit | 78fc6d66516861e4ff0b98671c04aa182f5a5b6a (patch) | |
tree | 5bdb140221b375fd9ced04dd6b99be6f846af796 /libs/backends/alsa | |
parent | b759fb883ea17e87ec533e866916416fa44d9c9e (diff) |
Prefix all env variable with "ARDOUR_"
In particular "CONCURRENCY" can be problematic. But in general
it's good practice to use a namespace prefix for app-specifics.
Diffstat (limited to 'libs/backends/alsa')
-rw-r--r-- | libs/backends/alsa/alsa_audiobackend.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc index 69a23c1912..0523c411b5 100644 --- a/libs/backends/alsa/alsa_audiobackend.cc +++ b/libs/backends/alsa/alsa_audiobackend.cc @@ -958,10 +958,10 @@ AlsaAudioBackend::_start (bool for_latency_measurement) _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 ('@'); |