1GSM_PRINT(3)               Library Functions Manual               GSM_PRINT(3)
2
3
4

NAME

6       gsm_print — GSM 06.10 supplementary function for debugging
7

SYNOPSIS

9       #include "gsm.h" #include <stdio.h>
10
11       int gsm_print(f, g, frame);
12       FILE * f;
13       gsm    g;
14       gsm_frame frame;
15

DESCRIPTION

17       Gsm  is  an  implementation  of  the final draft GSM 06.10 standard for
18       full-rate speech transcoding, a  lossy  speech  compression  algorithm.
19       The  compressed  form  involves  76 variables with different numbers of
20       significant bits packed into 33 bytes.
21
22       If you are interested in  investigating  the  details  of  this  coding
23       scheme,  gsm_print()  can  be  used  to dump the contents of individual
24       gsm_frames to a file pointer provided by the application.
25

RETURN VALUE

27       gsm_print() returns -1 if the frame is invalid, else 0.
28

EXAMPLE

30       A single frame looks like this:
31       LARc:   29  32  20  11  08  05  06  07
32       #1:     Nc 0040    bc 0    Mc 1    xmaxc 60
33               06 04 00 03 03 06 04 02 02 04 05 04 01
34       #2:     Nc 0045    bc 1    Mc 1    xmaxc 48
35               03 07 01 03 04 04 07 01 03 02 04 05 03
36       #3:     Nc 0091    bc 1    Mc 1    xmaxc 46
37               00 03 03 07 01 06 02 04 05 03 03 02 04
38       #4:     Nc 0120    bc 0    Mc 1    xmaxc 47
39               07 03 06 00 03 03 06 05 00 03 02 07 04
40

BUGS

42       Please direct bug  reports  to  jutta@cs.tu-berlin.de  and  cabo@cs.tu-
43       berlin.de.
44

SEE ALSO

46       gsm(3), gsm_explode(3)
47
48
49
50                                                                  GSM_PRINT(3)
Impressum