aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-07 23:56:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-07 23:56:34 +0100
commit5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e (patch)
tree89fdb2c5abc33581b4b5cee4e7cb9e9e548e8276 /src/pcm_convert.h
parent954c2b5a2518e3e5c2a87595c18320de2cac14d6 (diff)
downloadmpd-5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e.tar.gz
mpd-5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e.tar.xz
mpd-5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e.zip
pcm_format: use the pcm_buffer library
Replace a "static" buffer with the PCM buffer library.
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);