From 2c8916310a066d59423670e4bbc71ab592c18bc0 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 10 Jun 2021 02:05:04 +0200 Subject: [PATCH] Consistent env variable naming (see also 6801c2cac23) --- libs/ardouralsautil/deviceparams.cc | 2 +- libs/backends/alsa/alsa_audiobackend.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/ardouralsautil/deviceparams.cc b/libs/ardouralsautil/deviceparams.cc index f13e0de577..d8be36835e 100644 --- a/libs/ardouralsautil/deviceparams.cc +++ b/libs/ardouralsautil/deviceparams.cc @@ -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); diff --git a/libs/backends/alsa/alsa_audiobackend.cc b/libs/backends/alsa/alsa_audiobackend.cc index cbe457b006..a1b6bf0eb1 100644 --- a/libs/backends/alsa/alsa_audiobackend.cc +++ b/libs/backends/alsa/alsa_audiobackend.cc @@ -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");