13
0

Consistent env variable naming (see also 6801c2cac2)

This commit is contained in:
Robin Gareus 2021-06-10 02:05:04 +02:00
parent 444af7b3e8
commit 2c8916310a
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ ARDOUR::get_alsa_device_parameters (const char* device_name, const bool play, AL
/* see also libs/backends/alsa/zita-alsa-pcmi.cc
* If any debug parameter is set, print device info.
*/
if (getenv ("ZITA_ALSA_PCMI_DEBUG")) {
if (getenv ("ARDOUR_ALSA_DEBUG")) {
fprintf (stdout, "ALSA: *%s* device-info\n", play ? "playback" : "capture");
fprintf (stdout, " dev_name : %s\n", device_name);
fprintf (stdout, " channels : %u\n", nfo->max_channels);

View File

@ -957,7 +957,7 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
fprintf (stdout, " --]]\n");
#else
/* If any debug parameter is set, print info */
if (getenv ("ZITA_ALSA_PCMI_DEBUG")) {
if (getenv ("ARDOUR_ALSA_DEBUG")) {
fprintf (stdout, " --[[ ALSA Device %s\n", alsa_device.c_str ());
_pcmi->printinfo ();
fprintf (stdout, " --]]\n");