diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-04-03 17:46:04 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-04-03 18:03:42 +0200 |
commit | 0d1cef6b3a6ccc40ac1fe9500504a5e59c4a8209 (patch) | |
tree | bf9d5257ebd17e93532c1ef377c82447de546018 /spa/plugins/audioconvert/benchmark-fmt-ops.c | |
parent | bf3ebb67aa9e9f47a99504fa00ae18416ee5f45d (diff) |
audioconvert: move some things around
To make it easier to add other implementations later.
Improve selection of resampler function
Diffstat (limited to 'spa/plugins/audioconvert/benchmark-fmt-ops.c')
-rw-r--r-- | spa/plugins/audioconvert/benchmark-fmt-ops.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spa/plugins/audioconvert/benchmark-fmt-ops.c b/spa/plugins/audioconvert/benchmark-fmt-ops.c index 821cb34c..693ae7b2 100644 --- a/spa/plugins/audioconvert/benchmark-fmt-ops.c +++ b/spa/plugins/audioconvert/benchmark-fmt-ops.c @@ -29,7 +29,10 @@ #include <errno.h> #include <time.h> -#include "fmt-ops.c" +#include "fmt-ops.h" + +typedef void (*convert_func_t) (struct convert *conv, void * SPA_RESTRICT dst[], + const void * SPA_RESTRICT src[], uint32_t n_samples); struct stats { uint32_t n_samples; |