Skip to content

Commit

Permalink
Suppress RADE output based on configured log verbosity. (#786)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiw authored Dec 14, 2024
1 parent ce76e7f commit 2b2a1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/freedv_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ void FreeDVInterface::start(int txMode, int fifoSizeMs, bool singleRxThread, boo
// TBD - modelFile may be used by RADE in the future!
char modelFile[1];
modelFile[0] = 0;
rade_ = rade_open(modelFile, RADE_USE_C_ENCODER | RADE_USE_C_DECODER);
rade_ = rade_open(modelFile, RADE_USE_C_ENCODER | RADE_USE_C_DECODER | (wxGetApp().appConfiguration.debugVerbose ? 0 : RADE_VERBOSE_0));
assert(rade_ != nullptr);

float zeros[320] = {0};
Expand Down

0 comments on commit 2b2a1a6

Please sign in to comment.