view host.h @ 6:9cbb19619a9f default tip

README: punctuation fix
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 20 Aug 2024 19:00:23 +0000
parents 9008dbc8ca74
children
line wrap: on
line source

#ifndef __HOSTGSM
#define __HOSTGSM

#include <stdio.h>
#include "typedefs.h"

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

void   fillBitAlloc(int iVoicing, int iR0, int *piVqIndeces,
                           int iSoftInterp, int *piLags,
                           int *piCodeWrdsA, int *piCodeWrdsB,
                           int *piGsp0s, Shortword swVadFlag,
                           Shortword swSP, Shortword *pswBAlloc);

int    hostEncoderInterface(FILE *pfileInSpeech, int iNumToRead,
                                   Shortword pswSamplesRead[]);

  int    readDecfile(FILE *infile, Shortword pswSpeechPara[]);

  void   speechDecoderHostInterface(Shortword pswDecodedSpeechFrame[],
                                           FILE *fpfileSpeechOut);

  int    writeEncfile(Shortword pswOutBit[], FILE *fpfileEnc);

#endif