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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h
index 16aa05576..e48315795 100644
--- a/src/pcm_convert.h
+++ b/src/pcm_convert.h
@@ -21,6 +21,7 @@
#include "pcm_resample.h"
#include "pcm_dither.h"
+#include "pcm_buffer.h"
struct audio_format;
@@ -28,6 +29,9 @@ struct pcm_convert_state {
struct pcm_resample_state resample;
struct pcm_dither_24 dither;
+
+ /** the buffer for converting the sample format */
+ struct pcm_buffer format_buffer;
};
void pcm_convert_init(struct pcm_convert_state *state);