aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-08 00:47:04 +0100
committerMax Kellermann <max@duempel.org>2009-01-08 00:47:04 +0100
commitbb08679a702f0093077d49f76d5e597f92384fb1 (patch)
treeebab3b485e0c3c9adf9b38eac6b2687d07541430 /src/pcm_resample.h
parent2a83138913dbfc90958c52527fbfc1fc1bbf76e5 (diff)
downloadmpd-bb08679a702f0093077d49f76d5e597f92384fb1.tar.gz
mpd-bb08679a702f0093077d49f76d5e597f92384fb1.tar.xz
mpd-bb08679a702f0093077d49f76d5e597f92384fb1.zip
pcm_resample: use pcm_buffer (2/2)
Use the PCM buffer library for the libsamplerate output buffer.
Diffstat (limited to 'src/pcm_resample.h')
-rw-r--r--src/pcm_resample.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_resample.h b/src/pcm_resample.h
index 8a428d90b..66a746ae2 100644
--- a/src/pcm_resample.h
+++ b/src/pcm_resample.h
@@ -35,8 +35,8 @@ struct pcm_resample_state {
#ifdef HAVE_LIBSAMPLERATE
SRC_STATE *state;
SRC_DATA data;
- size_t data_in_size;
- size_t data_out_size;
+
+ struct pcm_buffer in, out;
struct {
unsigned src_rate;