mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-12-11 21:11:08 +00:00
7f00235804
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@16 fc73d0e0-1445-4013-8a0c-d673dee63da5
9 lines
322 B
C
9 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;
|