From c6b2320cbd043a2622354e339dd101e734f62337 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 17 May 2025 15:00:09 -0400 Subject: [PATCH] Ncurses: Don't display the lines for Pulse Digital Output if it isn't opened (when using analog only -fA); --- src/dsd_ncurses_printer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsd_ncurses_printer.c b/src/dsd_ncurses_printer.c index 5148363..93d06be 100644 --- a/src/dsd_ncurses_printer.c +++ b/src/dsd_ncurses_printer.c @@ -262,7 +262,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) printw ("\n"); } - if (opts->audio_out_type == 0) + if (opts->audio_out_type == 0 && opts->analog_only == 0) { printw ("| Pulse Digital Output: %i kHz; %i Ch; G: %02.0f%%", opts->pulse_digi_rate_out/1000, opts->pulse_digi_out_channels, state->aout_gain*2); if (opts->pulse_digi_out_channels == 2) printw (" G: %02.0f%%", state->aout_gainR*2);