shithub: sox

ref: 6ef78f6dd72276f828ac4cc1b5e498fc956c1921
dir: /src/libgsm/gsm_create.c/

View raw version
/*
 * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
 * Universitaet Berlin.  See the accompanying file "COPYRIGHT" for
 * details.  THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
 */

#include <string.h>
#include <stdlib.h>
#include <stdio.h>

#include "gsm.h"
#include "private.h"

gsm gsm_create ()
{
	gsm r = (gsm)calloc(1, sizeof(struct gsm_state));

        if (r)
          r->nrp = 40;

	return r;
}