cleaning up

This commit is contained in:
Jean-Marc Valin 2008-01-31 10:05:39 +11:00
parent ccc988b822
commit 3d3bb68536
3 changed files with 32 additions and 68 deletions

View file

@ -32,6 +32,8 @@
#ifndef CELT_H
#define CELT_H
#include "celt_types.h"
#ifdef __cplusplus
extern "C" {
#endif
@ -57,7 +59,7 @@ CELTEncoder *celt_encoder_new(const CELTMode *mode);
void celt_encoder_destroy(CELTEncoder *st);
int celt_encode(CELTEncoder *st, short *pcm, unsigned char *compressed, int nbCompressedBytes);
int celt_encode(CELTEncoder *st, celt_int16_t *pcm, unsigned char *compressed, int nbCompressedBytes);
/* Decoder stuff */
@ -65,7 +67,7 @@ CELTDecoder *celt_decoder_new(const CELTMode *mode);
void celt_decoder_destroy(CELTDecoder *st);
int celt_decode(CELTDecoder *st, char *data, int len, short *pcm);
int celt_decode(CELTDecoder *st, char *data, int len, celt_int16_t *pcm);
#ifdef __cplusplus
}