diff options
Diffstat (limited to 'src/format.h')
-rw-r--r-- | src/format.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/format.h b/src/format.h new file mode 100644 index 0000000..91caf25 --- /dev/null +++ b/src/format.h @@ -0,0 +1,13 @@ +#ifndef foosydneyformathfoo +#define foosydneyformathfoo + +#include <sys/types.h> + +#include "sydney.h" +#include "bbuffer.h" + +typedef int (*sa_format_func_t) (sa_bbuffer_t *b, void *dst, size_t dstr, const void *src, size_t sstr, size_t bytes); + +sa_format_func_t sa_get_format_func(sa_pcm_format_t from, sa_pcm_format_t to); + +#endif |