#include #include #include "source.h" #include "channel.h" /*-----------------* * Constants * *-----------------*/ #define L_frame 240 #define serial_size 138 #define prm_size 24 void initsdec() { Init_Decod_Tetra(); } void sdec(Word16 synth[], Word16 serial[]) { Word16 parm[prm_size]; /* Synthesis parameters */ Bits2prm_Tetra(serial, parm); /* serial to parameters */ Decod_Tetra(parm, synth); /* decoder */ Post_Process(synth, (Word16)L_frame); /* Post processing of synthesis */ }