mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 23:22:01 +00:00
10 lines
322 B
C
10 lines
322 B
C
|
//raw data is 16 bps
|
||
|
typedef struct {
|
||
|
char *name;
|
||
|
int (*encode) (short *in, unsigned char *out, int numsamps); //returns number of bytes.
|
||
|
int (*decode) (unsigned char *in, short *out, int numsamps); //returns number of 16bps samples.
|
||
|
} audiocodec_t;
|
||
|
|
||
|
extern audiocodec_t audiocodecs[];
|
||
|
extern const int audionumcodecs;
|