iLBC_decode.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /******************************************************************
  2. iLBC Speech Coder ANSI-C Source Code
  3. iLBC_decode.h
  4. Copyright (c) 2001,
  5. Global IP Sound AB.
  6. All rights reserved.
  7. ******************************************************************/
  8. #ifndef __iLBC_ILBCDECODE_H
  9. #define __iLBC_ILBCDECODE_H
  10. #include "iLBC_define.h"
  11. short initDecode( /* (o) Number of decoded
  12. samples */
  13. iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) Decoder instance */
  14. int use_enhancer /* (i) 1 to use enhancer
  15. 0 to run without
  16. enhancer */
  17. );
  18. void iLBC_decode(
  19. float *decblock, /* (o) decoded signal block */
  20. unsigned char *bytes, /* (i) encoded signal bits */
  21. iLBC_Dec_Inst_t *iLBCdec_inst, /* (i/o) the decoder state
  22. structure */
  23. int mode /* (i) 0: bad packet, PLC,
  24. 1: normal */
  25. );
  26. #endif