FreeCalypso > hg > gsm-codec-lib
diff amrconv/amr_defs.h @ 214:934cf92a1c45
amrconv: new program amr-ietf-parse
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 20 Apr 2023 22:48:22 +0000 |
parents | 78d1a6513393 |
children |
line wrap: on
line diff
--- a/amrconv/amr_defs.h Thu Apr 20 02:36:14 2023 +0000 +++ b/amrconv/amr_defs.h Thu Apr 20 22:48:22 2023 +0000 @@ -5,6 +5,8 @@ #define MAX_PRM_SIZE 57 /* max. num. of params */ #define MAX_SERIAL_SIZE 244 /* max. num. of serial bits */ +#define MAX_IF1_BYTES 31 /* max bytes in AMR IF1 packing */ +#define IETF_HDR_LEN 6 /* .amr file header bytes */ enum TXFrameType { TX_SPEECH_GOOD = 0, @@ -30,6 +32,8 @@ MRDTX }; +#define MODE_NO_DATA 15 + /* number of speech bits for all modes */ #define AMR_NBITS_475 95 #define AMR_NBITS_515 103