summaryrefslogtreecommitdiffstats
path: root/format.h
blob: 2df79caefcf3687840ee971087b049c7e94fbcdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef foosydneyformathfoo
#define foosydneyformathfoo

#include <sys/types.h>

#include "sydney.h"
#include "bbuffer.h"

typedef int (*format_func_t) (bbuffer_t *b, void *dst, size_t dstr, const void *src, size_t sstr, size_t bytes);

format_func_t get_format_func(sa_pcm_format_t from, sa_pcm_format_t to);

#endif