aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_convert.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-07 23:56:35 +0100
committerMax Kellermann <max@duempel.org>2009-01-07 23:56:35 +0100
commitaab85577bf7576895ccae0403d5cb95aa113f7f0 (patch)
tree587622c9ddd091c2d81926fe0aab05614ee357d9 /src/pcm_convert.h
parent5fe7e3bc1465a1a5f618b50f87aa0266d22ec75e (diff)
downloadmpd-aab85577bf7576895ccae0403d5cb95aa113f7f0.tar.gz
mpd-aab85577bf7576895ccae0403d5cb95aa113f7f0.tar.xz
mpd-aab85577bf7576895ccae0403d5cb95aa113f7f0.zip
pcm_channels: use pcm_buffer
Replace a "static" buffer with the PCM buffer library.
Diffstat (limited to '')
-rw-r--r--src/pcm_convert.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcm_convert.h b/src/pcm_convert.h
index e48315795..46ee55407 100644
--- a/src/pcm_convert.h
+++ b/src/pcm_convert.h
@@ -32,6 +32,9 @@ struct pcm_convert_state {
/** the buffer for converting the sample format */
struct pcm_buffer format_buffer;
+
+ /** the buffer for converting the channel count */
+ struct pcm_buffer channels_buffer;
};
void pcm_convert_init(struct pcm_convert_state *state);