FreeCalypso > hg > freecalypso-tools
comparison miscutil/gsm0610.c @ 7:08804864172a
miscutil/gsm0610.c: comment fix
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 Jun 2016 03:06:01 +0000 |
parents | 7eaa3307e5df |
children |
comparison
equal
deleted
inserted
replaced
6:d57f68d0568d | 7:08804864172a |
---|---|
1 /* | 1 /* |
2 * TI's DSP has API words from which GSM 06.10 codec bits that have been | 2 * This code (lifted from OsmocomBB) facilitates the conversion of 33-byte |
3 * demodulated from the downlink may be read, FreeCalypso firmware has | 3 * GSM 06.10 encoded speech frames between the bit order at the 06.10 interface |
4 * an experimental feature by way of which these bits may be forwarded | 4 * in the de facto standard libgsm implementation and the bit order at the |
5 * to the external host, and fc-shell provides a mechanism to record | 5 * 05.03 channel encoder interface, as realized in TI's Calypso DSP. |
6 * this downlink speech stream in a file. We would like to record these | |
7 * files in the libgsm format which the FLOSS world has adopted as the | |
8 * standard, so that they can be played with the SoX play command, | |
9 * for example. But the bit order is different between what TI's DSP | |
10 * gives us and libgsm, hence we need to reshuffle the bits here. | |
11 * | |
12 * Adapted from OsmocomBB. | |
13 */ | 6 */ |
14 | 7 |
15 #include <sys/types.h> | 8 #include <sys/types.h> |
16 #include <string.h> | 9 #include <string.h> |
17 #include <strings.h> | 10 #include <strings.h> |