aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_format.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm_format.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pcm_format.h b/src/pcm_format.h
index 7304963f4..628155dd4 100644
--- a/src/pcm_format.h
+++ b/src/pcm_format.h
@@ -22,15 +22,17 @@
#include <stdint.h>
#include <stddef.h>
+struct pcm_buffer;
struct pcm_dither_24;
const int16_t *
-pcm_convert_to_16(struct pcm_dither_24 *dither,
+pcm_convert_to_16(struct pcm_buffer *buffer, struct pcm_dither_24 *dither,
uint8_t bits, const void *src,
size_t src_size, size_t *dest_size_r);
const int32_t *
-pcm_convert_to_24(uint8_t bits, const void *src,
+pcm_convert_to_24(struct pcm_buffer *buffer,
+ uint8_t bits, const void *src,
size_t src_size, size_t *dest_size_r);
#endif