2011-10-30 16:05:04 +00:00
|
|
|
#ifndef RBCODECPLATFORM_H_INCLUDED
|
|
|
|
#define RBCODECPLATFORM_H_INCLUDED
|
|
|
|
#if 0
|
|
|
|
/* assert */
|
|
|
|
#include <assert.h>
|
|
|
|
|
|
|
|
/* isdigit, islower, isprint, isspace, toupper */
|
|
|
|
#include <ctype.h>
|
|
|
|
|
|
|
|
/* {UCHAR,USHRT,UINT,ULONG,SCHAR,SHRT,INT,LONG}_{MIN,MAX} */
|
|
|
|
#include <limits.h>
|
|
|
|
|
|
|
|
/* memchr, memcmp, memcpy, memmove, memset, strcasecmp, strcat, strchr, strcmp,
|
|
|
|
* strcpy, strlen, strncmp, strrchr, strlcpy */
|
|
|
|
#include <string.h>
|
|
|
|
#include "string-extra.h"
|
|
|
|
|
|
|
|
/* snprintf */
|
|
|
|
#include <stdio.h>
|
|
|
|
#endif
|
|
|
|
/* abs, atoi, labs, rand */
|
|
|
|
#include <stdlib.h>
|
|
|
|
#if 0
|
|
|
|
/* debugf */
|
|
|
|
#include "debug.h"
|
|
|
|
|
|
|
|
/* logf */
|
|
|
|
#include "logf.h"
|
|
|
|
|
|
|
|
/* clip_sample_16 */
|
|
|
|
#include "dsp-util.h"
|
|
|
|
#define HAVE_CLIP_SAMPLE_16
|
|
|
|
#endif
|
2012-05-06 10:22:09 +00:00
|
|
|
|
|
|
|
bool tdspeed_alloc_buffers(int32_t **buffers, const int *buf_s, int nbuf);
|
|
|
|
void tdspeed_free_buffers(int32_t **buffers, int nbuf);
|
|
|
|
|
2011-10-30 16:05:04 +00:00
|
|
|
#endif
|
|
|
|
|