logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gsm_explode, gsm_implode — GSM 06.10 supplementary functions for testing

Bugs

       Please direct bug reports to jutta@pobox.com and cabo@tzi.org.

Description

       Gsm  is  an  implementation of the final draft GSM 06.10 standard for full-rate speech transcoding.  Test
       data for implementations of this particular document can be bought and used to verify an implementation.

       The encoded test data uses a format different from what one would use to transmit frames with  the  least
       number  of bits.  Gsm_explode() and gsm_implode() convert between the internal, small, 33-byte format and
       the 76-word format used by the test data.

Name

       gsm_explode, gsm_implode — GSM 06.10 supplementary functions for testing

Return Value

       gsm_explode() returns -1 if the passed frame is invalid, else 0.

See Also

gsm(3)

                                                                                                  GSM_EXPLODE(3)

Synopsis

       #include "gsm.h"

       void gsm_explode(g, frame, xframe)
       gsm        g;
       gsm_frame  frame;
       gsm_signal xframe[ 76 ];

       void gsm_implode(g, xframe, frame)
       gsm        g;
       gsm_signal xframe[ 76 ];
       gsm_frame  frame;

See Also