Doc and Ncurses Cleanup;

This commit is contained in:
lwvmobile
2023-08-02 23:03:40 -04:00
parent e59b46448a
commit d91c44f6f3
2 changed files with 9 additions and 15 deletions

View File

@@ -179,7 +179,6 @@ P - start per call decoded wav files (Capital P)
p - stop per call decoded wav files (Lower p) p - stop per call decoded wav files (Lower p)
t - toggle trunking (needs either rtl input, or rigctl connection) t - toggle trunking (needs either rtl input, or rigctl connection)
y - toggle scanner (needs either rtl input, or rigctl connection) y - toggle scanner (needs either rtl input, or rigctl connection)
0 - Toggle Audio Smoothing - May produce crackling if enabled on RTL/TCP or wav/bin files
1 - Toggle Voice Synthesis in TDMA Slot 1 or FDMA Conventional Voice 1 - Toggle Voice Synthesis in TDMA Slot 1 or FDMA Conventional Voice
2 - Toggle Voice Synthesis in TDMA Slot 2 2 - Toggle Voice Synthesis in TDMA Slot 2
w - Toggle Trunking/Playback White List (Allow A Groups Only) / Black List (Block B or DE groups only) Mode w - Toggle Trunking/Playback White List (Allow A Groups Only) / Black List (Block B or DE groups only) Mode

View File

@@ -9,7 +9,6 @@
* 2022-08 DSD-FME Florida Man Edition * 2022-08 DSD-FME Florida Man Edition
*-----------------------------------------------------------------------------*/ *-----------------------------------------------------------------------------*/
//TODO: Simulate Tone by playing AMBE FF32D2D2D2D880 x 4 on call alert (NXDN Foreign Lady Chirp on End)
#include "dsd.h" #include "dsd.h"
#include "git_ver.h" #include "git_ver.h"
@@ -2387,14 +2386,6 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
else printw (" - Black List Mode\n"); else printw (" - Black List Mode\n");
} }
#endif #endif
if (opts->reverse_mute == 1)
{
printw ("| Reverse Mute - Muting Unencrypted Voice\n");
}
if (opts->call_alert == 1)
{
printw ("| Call Alert Tone Enabled\n");
}
if (opts->aggressive_framesync == 0) printw ("| Selective CRC ERR Bypass Enabled (RAS) \n"); if (opts->aggressive_framesync == 0) printw ("| Selective CRC ERR Bypass Enabled (RAS) \n");
if (state->M == 1) if (state->M == 1)
{ {
@@ -2415,6 +2406,10 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
printw (" Speed: %.02lf sec \n", opts->trunk_hangtime); //not sure values less than 1 make a difference, may be system/environment dependent printw (" Speed: %.02lf sec \n", opts->trunk_hangtime); //not sure values less than 1 make a difference, may be system/environment dependent
} }
if (opts->reverse_mute == 1) printw ("| Reverse Mute - Muting Unencrypted Voice\n");
if (opts->call_alert == 1) printw ("| Call Alert Tone Enabled\n");
printw ("------------------------------------------------------------------------------\n"); printw ("------------------------------------------------------------------------------\n");
attroff(COLOR_PAIR(4)); attroff(COLOR_PAIR(4));
@@ -3885,11 +3880,11 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
} }
if (c == 48) //'0' key, toggle upsampled audio smoothing // if (c == 48) //'0' key, toggle upsampled audio smoothing
{ // {
if (state->audio_smoothing == 1) state->audio_smoothing = 0; // if (state->audio_smoothing == 1) state->audio_smoothing = 0;
else state->audio_smoothing = 1; // else state->audio_smoothing = 1;
} // }
if (opts->p25_trunk == 1 && c == 119) //'w' key, toggle white list/black list mode if (opts->p25_trunk == 1 && c == 119) //'w' key, toggle white list/black list mode
{ {