shithub: sox

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