centos man page for gsm_print

Query: gsm_print

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GSM_PRINT(3)						     Library Functions Manual						      GSM_PRINT(3)

NAME
gsm_print -- GSM 06.10 supplementary function for debugging
SYNOPSIS
#include "gsm.h" #include <stdio.h> int gsm_print(f, g, frame); FILE * f; gsm g; gsm_frame frame;
DESCRIPTION
Gsm is an implementation of the final draft GSM 06.10 standard for full-rate speech transcoding, a lossy speech compression algorithm. The compressed form involves 76 variables with different numbers of significant bits packed into 33 bytes. If you are interested in investigating the details of this coding scheme, gsm_print() can be used to dump the contents of individual gsm_frames to a file pointer provided by the application.
RETURN VALUE
gsm_print() returns -1 if the frame is invalid, else 0.
EXAMPLE
A single frame looks like this: LARc: 29 32 20 11 08 05 06 07 #1: Nc 0040 bc 0 Mc 1 xmaxc 60 06 04 00 03 03 06 04 02 02 04 05 04 01 #2: Nc 0045 bc 1 Mc 1 xmaxc 48 03 07 01 03 04 04 07 01 03 02 04 05 03 #3: Nc 0091 bc 1 Mc 1 xmaxc 46 00 03 03 07 01 06 02 04 05 03 03 02 04 #4: Nc 0120 bc 0 Mc 1 xmaxc 47 07 03 06 00 03 03 06 05 00 03 02 07 04
BUGS
Please direct bug reports to jutta@cs.tu-berlin.de and cabo@cs.tu-berlin.de.
SEE ALSO
gsm(3), gsm_explode(3) GSM_PRINT(3)
Related Man Pages
toast(1) - centos
toast(1) - debian
gsm(3) - debian
gsm_print(3) - debian
gsm_print(3) - suse
Similar Topics in the Unix Linux Community
Help receiving a frame in C!