shithub: sox

ref: 7de73b76a65b8f4121cea3c1f573e9f0c16f5aa8
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;
}