Consistent env variable naming (see also 6801c2cac2
)
This commit is contained in:
parent
444af7b3e8
commit
2c8916310a
@ -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
|
/* see also libs/backends/alsa/zita-alsa-pcmi.cc
|
||||||
* If any debug parameter is set, print device info.
|
* 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, "ALSA: *%s* device-info\n", play ? "playback" : "capture");
|
||||||
fprintf (stdout, " dev_name : %s\n", device_name);
|
fprintf (stdout, " dev_name : %s\n", device_name);
|
||||||
fprintf (stdout, " channels : %u\n", nfo->max_channels);
|
fprintf (stdout, " channels : %u\n", nfo->max_channels);
|
||||||
|
@ -957,7 +957,7 @@ AlsaAudioBackend::_start (bool for_latency_measurement)
|
|||||||
fprintf (stdout, " --]]\n");
|
fprintf (stdout, " --]]\n");
|
||||||
#else
|
#else
|
||||||
/* If any debug parameter is set, print info */
|
/* 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 ());
|
fprintf (stdout, " --[[ ALSA Device %s\n", alsa_device.c_str ());
|
||||||
_pcmi->printinfo ();
|
_pcmi->printinfo ();
|
||||||
fprintf (stdout, " --]]\n");
|
fprintf (stdout, " --]]\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user