aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_fallback.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 16:37:00 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 16:37:00 +0100
commitd9c143429822e00da3aa8139f7cbd02807d7a645 (patch)
tree0a1e385b253df582b8334b4ff75da0f653643286 /src/pcm_resample_fallback.c
parent1b31f5228582980a5435f1cfac942d1292c089a2 (diff)
downloadmpd-d9c143429822e00da3aa8139f7cbd02807d7a645.tar.gz
mpd-d9c143429822e00da3aa8139f7cbd02807d7a645.tar.xz
mpd-d9c143429822e00da3aa8139f7cbd02807d7a645.zip
pcm_resample: use 24 bit resampling code for 32 bit samples
Resampling 32 bit samples is the same as resampling 24 bit samples - both are stored in the int32_t type.
Diffstat (limited to 'src/pcm_resample_fallback.c')
-rw-r--r--src/pcm_resample_fallback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm_resample_fallback.c b/src/pcm_resample_fallback.c
index c7789d69c..87598c7e4 100644
--- a/src/pcm_resample_fallback.c
+++ b/src/pcm_resample_fallback.c
@@ -70,7 +70,7 @@ pcm_resample_16(struct pcm_resample_state *state,
}
const int32_t *
-pcm_resample_24(struct pcm_resample_state *state,
+pcm_resample_32(struct pcm_resample_state *state,
uint8_t channels,
unsigned src_rate,
const int32_t *src_buffer, G_GNUC_UNUSED size_t src_size,