mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-13 09:17:20 -05:00
Ncurses:
Don't display the lines for Pulse Digital Output if it isn't opened (when using analog only -fA);
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user