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.
This commit is contained in:
Max Kellermann
2009-03-02 16:37:00 +01:00
parent 1b31f52285
commit d9c1434298
3 changed files with 31 additions and 4 deletions

View File

@@ -186,7 +186,7 @@ src_float_to_int_array (const float *in, int *out, int len)
#endif
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, size_t src_size,