/************************************
        SV_RES.h
/************************************/

#include "SV_common_include.h"

typedef struct{
    int flagTxsilenceAEC;
    int flagSingleTalk;
} SV_RES_T;

// Processing
extern void SV_RES_Exe(ComplexInt* Outer1_sp,int nsp,SV_RES_T* p_struct);
//Outer1_sp - input and output spectrum
//p_struct - pointer to the module internal structure

// Setting parameters
extern void SV_RES_SetPar(   int flagTxsilenceAEC,
                                                int flagSingleTalk,
                                                SV_RES_T* SV_RES_struct
                                                );
// flagTxsilenceAEC - ???
// flagSingleTalk - ???
// p_struct - pointer to the module structure (to be initialized)

// Init
extern void SV_RES_Init(int Fs, SV_RES_T* p_struct);
// Fs - {8000, 16000}
// p_struct - pointer to the module structure (to be initialized)
