aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_convert.h')
-rw-r--r--src/pcm_convert.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h
index 46ee55407..49dc64973 100644
--- a/src/pcm_convert.h
+++ b/src/pcm_convert.h
@@ -41,11 +41,12 @@ void pcm_convert_init(struct pcm_convert_state *state);
void pcm_convert_deinit(struct pcm_convert_state *state);
-size_t pcm_convert(const struct audio_format *inFormat,
- const void *src, size_t src_size,
- const struct audio_format *outFormat,
- void *dest,
- struct pcm_convert_state *convState);
+const void *
+pcm_convert(struct pcm_convert_state *state,
+ const struct audio_format *src_format,
+ const void *src, size_t src_size,
+ const struct audio_format *dest_format,
+ size_t *dest_size_r);
size_t pcm_convert_size(const struct audio_format *inFormat, size_t inSize,
const struct audio_format *outFormat);