From 5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Jan 2009 23:56:34 +0100 Subject: pcm_format: use the pcm_buffer library Replace a "static" buffer with the PCM buffer library. --- src/pcm_convert.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pcm_convert.h') 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); -- cgit v1.2.3