view err_conc.h @ 3:a6db7d8d6df4

change compile-time quiet control to runtime, and suppress all noisy output
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Jun 2024 00:09:40 +0000
parents 9008dbc8ca74
children
line wrap: on
line source

#ifndef __ERR_CONC
#define __ERR_CONC

#include "typedefs.h"

/*_________________________________________________________________________
 |                                                                         |
 |                            Function Prototypes                          |
 |_________________________________________________________________________|
*/

void   para_conceal_speech_decoder(Shortword pswErrorFlag[],
                       Shortword pswSpeechPara[], Shortword *pswMutePermit);

  Shortword level_calc(Shortword swInd, Longword *pl_en);

  void   level_estimator(Shortword update, Shortword *pswLevelMean,
                                Shortword *pswLevelMax,
                                Shortword pswDecodedSpeechFrame[]);

  void   signal_conceal_sub(Shortword pswPPFExcit[],
                     Shortword ppswSynthAs[], Shortword pswSynthFiltState[],
                       Shortword pswLtpStateOut[], Shortword pswPPreState[],
                                Shortword swLevelMean, Shortword swLevelMax,
                            Shortword swErrorFlag1, Shortword swMuteFlagOld,
                            Shortword *pswMuteFlag, Shortword swMutePermit);

#endif