summaryrefslogtreecommitdiffstats
path: root/src/sconv.h
blob: e16f2dcc50ce5303a19430ee084f0dae9195c14c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef foosconvhfoo
#define foosconvhfoo

#include "sample.h"

typedef void (*pa_convert_to_float32_func_t)(unsigned n, const void *a, unsigned an, float *b);
typedef void (*pa_convert_from_float32_func_t)(unsigned n, const float *a, void *b, unsigned bn);

pa_convert_to_float32_func_t pa_get_convert_to_float32_function(enum pa_sample_format f);
pa_convert_from_float32_func_t pa_get_convert_from_float32_function(enum pa_sample_format f);

#endif