mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-20 20:55:40 -05:00
Add Analog Displays to UDP and OSS Output;
This commit is contained in:
@@ -2446,7 +2446,14 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
if (opts->call_alert == 1) printw (" *CA!"); //Call Alert
|
if (opts->call_alert == 1) printw (" *CA!"); //Call Alert
|
||||||
|
|
||||||
if ( (opts->audio_out_type == 5 && opts->pulse_digi_rate_out == 48000 && opts->pulse_digi_out_channels == 1) && (opts->frame_provoice == 1 || opts->monitor_input_audio == 1) )
|
if ( (opts->audio_out_type == 5 && opts->pulse_digi_rate_out == 48000 && opts->pulse_digi_out_channels == 1) && (opts->frame_provoice == 1 || opts->monitor_input_audio == 1) )
|
||||||
printw (" - Monitor RMS: %04ld ", opts->rtl_rms);
|
{
|
||||||
|
printw ("\n| Analog Monitor RMS: %04ld; G: %02.0f%% (/|*) ", opts->rtl_rms, opts->audio_gainA);
|
||||||
|
if (opts->audio_gainA == 0.0f) printw ("Auto ");
|
||||||
|
else printw ("Manual ");
|
||||||
|
if (opts->use_lpf == 1) printw ("F: |LP|"); else printw ("F: | |");
|
||||||
|
if (opts->use_hpf == 1) printw ("HP|"); else printw (" |");
|
||||||
|
if (opts->use_pbf == 1) printw ("PB|"); else printw (" |");
|
||||||
|
}
|
||||||
printw (" \n");
|
printw (" \n");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2463,7 +2470,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
|
|||||||
printw (" \n");
|
printw (" \n");
|
||||||
if (opts->udp_sockfdA != 0) //Analog Output on udp port +2
|
if (opts->udp_sockfdA != 0) //Analog Output on udp port +2
|
||||||
{
|
{
|
||||||
printw ("| UDP Analog Output: %s:%d; 48 kHz 1 Ch; ", opts->udp_hostname, opts->udp_portno+2);
|
printw ("| UDP Analog Output: %s:%d; 48 kHz 1 Ch; G: %02.0f%% (/|*)", opts->udp_hostname, opts->udp_portno+2, opts->audio_gainA);
|
||||||
if (opts->audio_in_type != 3) printw ("RMS: %04ld; ", opts->rtl_rms);
|
if (opts->audio_in_type != 3) printw ("RMS: %04ld; ", opts->rtl_rms);
|
||||||
if (opts->use_lpf == 1) printw ("F: |LP|"); else printw ("F: | |");
|
if (opts->use_lpf == 1) printw ("F: |LP|"); else printw ("F: | |");
|
||||||
if (opts->use_hpf == 1) printw ("HP|"); else printw (" |");
|
if (opts->use_hpf == 1) printw ("HP|"); else printw (" |");
|
||||||
|
|||||||
Reference in New Issue
Block a user