resetState and Minor Ncurses Printer tweak

resetState and Minor Ncurses Printer tweak
don't run with -n yet, resets state, using to test to fix when input type changes, but won't decode properly
This commit is contained in:
lwvmobile
2022-02-19 10:42:55 -05:00
committed by GitHub
parent 9acff308b9
commit 417a48cc71
5 changed files with 130 additions and 7 deletions

View File

@@ -238,6 +238,7 @@ typedef struct
pa_simple *pulse_digi_dev_in;
pa_simple *pulse_digi_dev_out;
int use_ncurses_terminal;
int reset_state;
} dsd_opts;
@@ -535,6 +536,7 @@ void NxdnEncryptionStreamGeneration (dsd_opts* opts, dsd_state* state, uint8_t K
void processMbeFrameEncrypted (dsd_opts * opts, dsd_state * state, char imbe_fr[8][23], char ambe_fr[4][24], char imbe7100_fr[7][24], char ambe_keystream[49], char imbe_keystream[88]);
//end borrow from LEH
void resetState (dsd_state * state);
#ifdef __cplusplus
extern "C" {