view src/xsf/vio2sf.h @ 3186:2e988f44b85d

alsa-ng: Don't crash on SND_PCM_FORMAT_UNKNOWN.
author William Pitcock <nenolod@atheme.org>
date Fri, 19 Jun 2009 08:23:51 -0500
parents 70b0973e7b70
children
line wrap: on
line source

#define XSF_FALSE (0)
#define XSF_TRUE (!XSF_FALSE)

int xsf_start(void *pfile, unsigned bytes);
int xsf_gen(void *pbuffer, unsigned samples);
int xsf_get_lib(char *pfilename, void **ppbuffer, unsigned int *plength);
void xsf_term(void);