FreeCalypso > hg > gsm-net-reveng
diff trau-decode/amr8-common.c @ 106:028307356ba9
trau-decode: new program trau-amr8-dump
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 21 Nov 2025 06:37:46 +0000 |
| parents | 699afc9ef063 |
| children | b3ebfbeee32b |
line wrap: on
line diff
--- a/trau-decode/amr8-common.c Thu Nov 20 22:28:45 2025 +0000 +++ b/trau-decode/amr8-common.c Fri Nov 21 06:37:46 2025 +0000 @@ -58,7 +58,7 @@ static const ubit_t bit8_0[8] = { 0, }; /*!< check sync pattern for AMR No_Speech + low bit rate */ -static bool is_amr_low(const ubit_t *bits) +bool is_amr_low(const ubit_t *bits) { int i; @@ -79,7 +79,7 @@ } /*!< check sync pattern for AMR 6.7kBit/s */ -static bool is_amr_67(const ubit_t *bits) +bool is_amr_67(const ubit_t *bits) { int i; @@ -104,7 +104,7 @@ } /*!< check sync pattern for AMR 7.4kBit/s */ -static bool is_amr_74(const ubit_t *bits) +bool is_amr_74(const ubit_t *bits) { if (bits[0] != 0 || bits[1] != 0 || bits[2] != 1) return false;
